bamzi / jobrunner

Framework for performing work asynchronously, outside of the request flow
MIT License
1.04k stars 99 forks source link

Graceful shutdown #7

Closed changwuf31 closed 7 years ago

changwuf31 commented 7 years ago

when calling jobrunner.Stop, does it gracefully wait for running jobs to stop, or does it abruptly stop running jobs ?

bamzi commented 7 years ago

@changwuf31 yes it's graceful.

Stop ALL active jobs from running at the next scheduled time