Files
nomad/command/agent
Michael Schurter 383c85ae6f consul: add ScriptExecutor context wrapper
Since d335a82859 ScriptExecutors now take
a timeout duration instead of a context. This broke the script check
removal code which used context cancelation propagation to remove
script checks while they were executing.

This commit adds a wrapper around ScriptExecutors that obeys context
cancelation again. The only downside is that it leaks a goroutine until
the underlying Exec call completes or timeouts.

Since check removal is relatively rare, check timeouts usually low, and
scripts usually fast, the risk of leaking a goroutine seems very small.
2018-12-03 20:26:31 -08:00
..
2018-08-30 13:43:09 -07:00
2015-12-04 17:12:47 -08:00
2018-03-11 17:43:19 +00:00
2017-10-13 13:12:20 -07:00
2018-02-15 13:59:01 -08:00
2018-09-13 10:43:40 -07:00
2018-09-13 10:43:40 -07:00
2018-02-15 13:59:03 -08:00
2018-08-30 13:43:09 -07:00
2018-11-29 22:27:39 -05:00
2018-03-11 18:35:30 +00:00
2018-10-16 16:56:55 -07:00
2017-10-13 14:36:02 -07:00
2018-01-17 10:29:15 -05:00
2016-10-17 10:48:04 -07:00
2017-07-20 09:36:34 -07:00
2015-08-16 13:54:49 -07:00
2017-07-20 09:36:34 -07:00
2017-09-26 15:26:33 -07:00
2017-10-23 18:38:36 -07:00
2018-09-13 10:43:40 -07:00
2018-05-30 17:27:04 -05:00
2017-07-20 09:36:34 -07:00
2018-09-13 10:43:40 -07:00
2018-09-13 10:43:40 -07:00
2017-09-07 17:04:21 -07:00
2018-02-15 13:59:02 -08:00
2017-07-20 09:36:34 -07:00
2015-09-06 18:39:03 -07:00
2017-09-19 10:08:23 -05:00
2017-07-20 09:36:34 -07:00
2018-03-11 17:47:09 +00:00
2017-07-20 09:36:34 -07:00
2018-03-11 18:56:45 +00:00