mirror of https://github.com/zulip/zulip.git
queue: Update comment to be more accurate about import errors.
This commit is contained in:
parent
2d71ca1fb8
commit
a1ce1aca3b
|
@ -381,7 +381,7 @@ def queue_json_publish(
|
||||||
elif processor:
|
elif processor:
|
||||||
processor(event)
|
processor(event)
|
||||||
else:
|
else:
|
||||||
# Must be imported here: A top section import leads to obscure not-defined-ish errors.
|
# Must be imported here: A top section import leads to circular imports
|
||||||
from zerver.worker.queue_processors import get_worker
|
from zerver.worker.queue_processors import get_worker
|
||||||
get_worker(queue_name).consume_wrapper(event)
|
get_worker(queue_name).consume_wrapper(event)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue