forked fromsigmavirus24/github3.py
- Notifications
You must be signed in to change notification settings - Fork0
Commitc2bdf55
committed
Increase default read timeout to 10 seconds
The read timeout is the time until Github starts the response to anhttp request. The current default of one second can be too short for alocal maybe slower Github Enterprise. Instead change it to 10s asgithub suggests also in its best practices for request from Github tointegrations [1].[1]https://developer.github.com/v3/guides/best-practices-for-integrators/#favor-asynchronous-work-over-synchronous1 parent5deccee commitc2bdf55
2 files changed
+3
-3
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
96 |
| - | |
| 96 | + | |
97 | 97 |
| |
98 | 98 |
| |
99 | 99 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
| 44 | + | |
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
| |||
149 | 149 |
| |
150 | 150 |
| |
151 | 151 |
| |
152 |
| - | |
| 152 | + | |
153 | 153 |
| |
154 | 154 |
| |
155 | 155 |
| |
|
0 commit comments
Comments
(0)