mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-09 22:40:55 +08:00
Add post_spawn signal. (#93)
Co-authored-by: David Hoover <hooverd@arizona.edu>
This commit is contained in:
co-authored by
David Hoover
parent
fb960104c3
commit
4ba9e0338a
@@ -31,6 +31,8 @@ def call_hook(sender, instance, **kwargs):
|
||||
% {"hook": instance.hook, "name": instance.name, "error": str(e)}
|
||||
)
|
||||
|
||||
# args: proc_name
|
||||
post_spawn = Signal()
|
||||
|
||||
# args: task
|
||||
pre_enqueue = Signal()
|
||||
|
||||
Reference in New Issue
Block a user