mirror of https://github.com/zulip/zulip.git
c0bf3bb191
Deployment instructions: I think all the queue workers get restarted automatically, so there is probably nothing special to do here in the deploy itself, but we will want to monitor it closely, and the change should make our number of locks go down. QueueProcessingWorker.start() now calls consume_and_commit(), which ensures that we don't hold locks after work actions by using Django's commit_on_success() decorator. Obviously, workers that override start() will not call consume_and_commit() through this code path. SlowQueryWorker calls commit_on_success() in its start() method now, and I hope to address MissedMessageWorker soon. (imported from commit f3f38a7f45730eee8f3b5794371ba5b994017676) |
||
---|---|---|
.. | ||
fixtures | ||
lib | ||
management | ||
migrations | ||
templatetags | ||
tests/frontend | ||
views | ||
worker | ||
__init__.py | ||
context_processors.py | ||
decorator.py | ||
exceptions.py | ||
filters.py | ||
finders.py | ||
forms.py | ||
handlers.py | ||
middleware.py | ||
models.py | ||
openid.py | ||
retention_policy.py | ||
static_header.txt | ||
storage.py | ||
tests.py | ||
tornado_callbacks.py | ||
tornadoviews.py |