forked from celery/billiard
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pool: Support running without TimeoutHandler thread.
- The with_*_thread arguments has also been replaced with a single `threads=True` argument. - Two new pool callbacks: - ``on_timeout_set(job, soft, hard)`` Applied when a task is executed with a timeout. - ``on_timeout_cancel(job)`` Applied when a timeout is cancelled (the job completed)
- Loading branch information
Showing
1 changed file
with
123 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters