Files
nomad/command
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-03-11 17:43:19 +00:00
2018-05-11 18:05:43 -04:00
2017-07-20 21:24:21 -07:00
2017-07-20 21:24:21 -07:00
2017-07-07 12:07:07 -07:00
CLI
2018-05-07 14:50:01 -05:00
2018-04-03 18:15:12 -07:00
2018-04-18 12:19:53 -04:00
2017-09-05 16:38:15 -07:00
2018-05-21 18:00:14 -05:00
2018-08-14 14:06:04 -04:00
2018-06-06 14:48:51 -07:00
2018-11-08 09:48:43 -06:00
2018-11-08 09:48:43 -06:00
2018-04-26 15:46:22 -07:00
2018-04-26 15:46:22 -07:00
2018-10-16 16:53:31 -07:00
2017-09-15 23:33:43 +00:00
2018-03-21 20:27:32 -07:00
2018-03-11 19:06:15 +00:00
2018-06-14 15:48:01 +02:00
2018-03-21 20:27:32 -07:00
2017-07-20 21:24:21 -07:00
2017-07-20 21:24:21 -07:00
2017-07-20 21:24:21 -07:00
2017-09-19 10:08:23 -05:00
2017-09-19 10:08:23 -05:00
2017-09-19 10:08:23 -05:00
2017-09-19 10:08:23 -05:00
2017-07-20 21:24:21 -07:00
2017-07-20 21:24:21 -07:00
2018-05-11 18:05:43 -04:00
2017-10-13 14:36:02 -07:00
2017-07-20 21:24:21 -07:00