conda-incubator / conda-store

Data science environments, for collaboration. ✨
https://conda.store
BSD 3-Clause "New" or "Revised" License
144 stars 46 forks source link

Terminate worker tasks on SIGINT #709

Closed nkaretnikov closed 9 months ago

nkaretnikov commented 9 months ago

Fixes #707.

Description

This pull request: installs a signal handler that terminates worker tasks on Ctrl-C (SIGINT).

If the requested signal isn't supported on the current platform, the operation will be ignored.

Notes:

Tested on Windows and Linux. All processes are terminated as expected.

Pull request checklist

Additional information

netlify[bot] commented 9 months ago

Deploy Preview for kaleidoscopic-dango-0cf31d canceled.

Name Link
Latest commit 0237f94a18eb9b180b965aa127f289e4bea2e505
Latest deploy log https://app.netlify.com/sites/kaleidoscopic-dango-0cf31d/deploys/6596fe8bd78e4a0008c494a4
trallard commented 9 months ago

@nkaretnikov there is a merge conflict - can you fix this and we can merge right away