Files
nomad/nomad
Pierre Cauchois ca1b85b36d RPC Timeout/Retries account for blocking requests (#8921)
The current implementation measures RPC request timeout only against
config.RPCHoldTimeout, which is fine for non-blocking requests but will
almost surely be exceeded by long-poll requests that block for minutes
at a time.

This adds an HasTimedOut method on the RPCInfo interface that takes into
account whether the request is blocking, its maximum wait time, and the
RPCHoldTimeout.
2020-09-18 08:58:41 -04:00
..
2020-09-01 10:27:20 -04:00
2019-11-26 08:39:04 -05:00
2020-02-16 16:04:59 -06:00
2018-09-15 16:23:13 -07:00
2018-05-07 14:50:01 -05:00
2017-10-13 14:36:02 -07:00
2020-09-01 10:27:20 -04:00
2020-09-01 10:27:20 -04:00
2019-01-22 15:44:31 -08:00
2020-09-10 17:18:23 -05:00
2020-06-07 16:38:11 -04:00
2020-07-20 09:25:09 -04:00
2019-01-22 15:44:31 -08:00
2017-10-13 14:36:02 -07:00
2017-09-26 15:26:33 -07:00
2019-01-22 15:44:31 -08:00
2018-02-15 13:59:00 -08:00
2018-09-15 16:23:13 -07:00
2020-03-02 13:47:43 -05:00
2020-03-02 13:47:43 -05:00
2018-09-15 16:23:13 -07:00
2018-09-15 16:23:13 -07:00
2018-09-15 16:23:13 -07:00
2020-02-13 18:56:53 -05:00