Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
queue: Update comment to be more accurate about import errors.
Alex Vandivera1ce1aca3b6b
diff --git a/zerver/lib/queue.py b/zerver/lib/queue.pyindex 9f9d5e81d49..a5718aca68b 100644--- a/zerver/lib/queue.py+++ b/zerver/lib/queue.py@@ -381,7 +381,7 @@ def queue_json_publish(elif processor:processor(event)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 importsfrom zerver.worker.queue_processors import get_workerget_worker(queue_name).consume_wrapper(event)