In some cases, for example when shutting down a cluster for patching or when changing the settings of a config, it would be nice to have the option to stop configs without killing processes. i.e. send SIGTERM and wait forever, rather than waiting a while then sending SIGKILL.
I think the easiest implementation would be adding a command line argument that lets us increase the number of attempts before SIGKILL is sent.
In most cases, this would allow the process to finish sending its current batch of files before shutting down.
Semi-related: #618 - that issue is mainly talking about not abandoning retries when scaling down instances.
In some cases, for example when shutting down a cluster for patching or when changing the settings of a config, it would be nice to have the option to stop configs without killing processes. i.e. send SIGTERM and wait forever, rather than waiting a while then sending SIGKILL.
I think the easiest implementation would be adding a command line argument that lets us increase the number of attempts before SIGKILL is sent.
In most cases, this would allow the process to finish sending its current batch of files before shutting down.
Semi-related: #618 - that issue is mainly talking about not abandoning retries when scaling down instances.