mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-01 22:58:11 +08:00
Added hook to README
This commit is contained in:
@@ -32,5 +32,11 @@ Failed packages are always saved.
|
|||||||
The medic loop checks the health of all workers, including the pusher and the monitor.
|
The medic loop checks the health of all workers, including the pusher and the monitor.
|
||||||
In case one of them dies, the medic will reincarnate a new process to take over the duties of the deceased.
|
In case one of them dies, the medic will reincarnate a new process to take over the duties of the deceased.
|
||||||
|
|
||||||
|
### Hooks
|
||||||
|
|
||||||
|
When you pass `hook='module.somefunction'` to the package, upon completion of the package this function will be called with the Task object as the first argument.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Todo
|
### Todo
|
||||||
I'll add to this README while I'm developing the various parts.
|
I'll add to this README while I'm developing the various parts.
|
||||||
Reference in New Issue
Block a user