Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't terminate DL binary client subprocesses when the parent process…
… is SIGTERM'd We were seeing failures in Gadget during deploys where a running pod would be doing DL work and get SIGTERM'd by kubernetes. Normally, unixes will only deliver that signal to the parent process, but `execa` takes care to propagate SIGTERMs from the parent to any spawned children. This has the effect of prematurely killing a dl binary client subprocess mid operation. We use graceful shutdown in gadget to allow currently-running operations within our workers to finish, and so to allow that, we don't want these signals propagated.
- Loading branch information