Commit 4d6468d
authored
[Dashboard] Add timeout to block() for HTTP requests to Github (#1751)
There was an incident at Github on Sep 22 that caused one of the HTTP
requests we sent to Github never returned and thus blocked the entire
sync process.
No idea why the underlying HTTP client library didn't throw an error in
this case, but we should add a timeout to the `block()` anyway.
Fixes #1732.1 parent 1e4b951 commit 4d6468d
File tree
1 file changed
+2
-1
lines changed- dashboard/server/src/main/java/build/bazel/dashboard/common
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | | - | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
0 commit comments