Closed
Bug 1144138
Opened 11 years ago
Closed 11 years ago
Treeherder client should have a timeout set
Categories
(Tree Management Graveyard :: Treeherder: Client Libraries, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: wlach, Assigned: wlach)
References
Details
Attachments
(1 file)
We currently always use httplib's default timeout, which I believe by default means "no timeout".
https://docs.python.org/2/library/socket.html#socket.getdefaulttimeout
We should probably set a maximum configurable timeout of 2 minutes or something, and throw an exception if we do timeout.
| Assignee | ||
Comment 1•11 years ago
|
||
Assignee: nobody → wlachance
Attachment #8578784 -
Flags: review?(mdoglio)
Updated•11 years ago
|
Attachment #8578784 -
Flags: review?(mdoglio) → review+
Comment 2•11 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder-client
https://github.com/mozilla/treeherder-client/commit/f236a3487eb042638836d4d9c9f79d51cab2a362
Bug 1144138 - Set a timeout for treeherder client requests
Before we would wait forever. Let's start with 120 seconds, we can always
modify in the future.
Comment 3•11 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder-service
https://github.com/mozilla/treeherder-service/commit/bb2e7c435613f83b7b8cfdbdf89b091da93588ed
Bug 1144138 - Set a timeout for treeherder client requests
Before we would wait forever. Let's start with 120 seconds, we can always
modify in the future.
| Assignee | ||
Comment 4•11 years ago
|
||
Merged
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 6•11 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/e481e31ffd9add1a0c9190e3fb3340a453fc0e8c
Bug 1144138 - Set a timeout for treeherder client requests
Before we would wait forever. Let's start with 120 seconds, we can always
modify in the future.
Updated•11 years ago
|
Component: Treeherder → Treeherder: Python Client
Updated•6 years ago
|
Product: Tree Management → Tree Management Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•