Unmanic / unmanic

Unmanic - Library Optimiser
GNU General Public License v3.0
1.66k stars 82 forks source link

Offer a 'quiesce' option for workers, effectively a 'pause when done with current file(s)' #466

Open winbatch opened 8 months ago

winbatch commented 8 months ago

If the workers are working and I want them to finish what they are doing and THEN stop, that doesn't currently seem possible. It seems I have to pause or kill them now. This is especially true for 'remote' workers. I'd like for them to stop when done processing their current tasks and then pause/not be sent additional tasks until resumed.

yajrendrag commented 6 months ago

it's possible. just change the worker count to 0 & it will behave as you describe. then reset worker count to resume