Skip to content

Commit

Permalink
Added timeout to login API call
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Lu committed Nov 20, 2017
1 parent 8e39019 commit 150265c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion canary/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def login(self):
ATTR_CLIENT_SECRET: ATTR_VALUE_CLIENT_SECRET,
ATTR_GRANT_TYPE: ATTR_VALUE_GRANT_TYPE,
ATTR_SCOPE: ATTR_VALUE_SCOPE,
}, headers={
}, timeout=self._timeout, headers={
HEADER_USER_AGENT: HEADER_VALUE_USER_AGENT
})

Expand Down

0 comments on commit 150265c

Please sign in to comment.