wlandau / crew

A distributed worker launcher
https://wlandau.github.io/crew/
Other
123 stars 4 forks source link

Make terminate_worker() optional for launchers #53

Closed wlandau closed 1 year ago

wlandau commented 1 year ago

From https://github.com/shikokuchuo/mirai/discussions/38#discussioncomment-5374061, the new non-polling dispatcher can allow crew launchers to rely on mirai to terminate workers.

wlandau commented 1 year ago

Need to add a default terminate_worker() method to the launcher abstract class.

wlandau commented 1 year ago

Done. https://github.com/wlandau/crew/blob/main/tests/launchers/test-launcher-system2.R is a light load test.