worker/apicaller: timeout for api dials is too low

Bug #1701438 reported by Andrew Wilkins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Andrew Wilkins

Bug Description

worker/apicaller has a 1 second dial timeout for making API connections, which is far too low. Previously the timeout applied only to the websocket being dialled; it now covers the entire api.Open call, including the Login request. Particularly if the apiserver is rate-limiting logins, this request may take a long time.

Ian Booth (wallyworld)
Changed in juju:
assignee: nobody → Andrew Wilkins (axwalk)
Andrew Wilkins (axwalk)
Changed in juju:
status: Triaged → In Progress
Revision history for this message
Andrew Wilkins (axwalk) wrote :
Andrew Wilkins (axwalk)
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.