Commit 5cd7665
committed
Remove the use of
This PR changes three `gen_server:call` invocations to use a 60 second
timeout, rather than infinity. It's part of a larger undertaking to
evaluate and, possibly, remove other usages of `infinity` in the
RabbitMQ codebase.
The motivation for this particular change is evidence of
`rabbit_web_dispatch_registry:remove/1` never returning during a broker
shutdown, after that broker had been put into maintenance mode. This is
most likely a one-off event, but the `infinity` timeout didn't help.infinity in rabbit_web_dispatch_registry
1 parent 0bc3411 commit 5cd7665
File tree
2 files changed
+6
-4
lines changed- deps
- rabbit_common/include
- rabbitmq_web_dispatch/src
2 files changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| 280 | + | |
| 281 | + | |
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments