mirror of https://github.com/zulip/zulip.git
ec6f64f7b0
Decouple the sending of client restart events from the restarting of the servers. Restarts use the new Tornado restart-clients endpoint to inject "restart" events into queues of clients which were loaded from the previous Tornado process. The rate is controlled by the `application_server.client_restart_rate`, in clients per minute, or a flag to `restart-clients` which overrides it. Note that a web client will also spread its restart over 5 minutes, so artificially-slow client restarts are generally not very necessary. Restarts of clients are deferred to until after post-deploy hooks are run, such that the pre- and post- deploy hooks are around the actual server restarts, even if pushing restart events to clients takes significant time. |
||
---|---|---|
.. | ||
__init__.py | ||
build-groonga | ||
build-pgroonga | ||
check-database-compatibility | ||
check_rabbitmq_queue.py | ||
clean_emoji_cache.py | ||
clean_node_cache.py | ||
clean_unused_caches.py | ||
clean_venv_cache.py | ||
create-production-venv | ||
email-mirror-postfix | ||
fix-standalone-certbot | ||
hash_reqs.py | ||
install | ||
install-node | ||
node_cache.py | ||
puppet_cache.py | ||
pythonrc.py | ||
queue_workers.py | ||
setup-apt-repo | ||
setup-yum-repo | ||
setup_path.py | ||
setup_venv.py | ||
sharding.py | ||
supervisor.py | ||
unpack-zulip | ||
update-git-upstream | ||
upgrade-zulip | ||
upgrade-zulip-from-git | ||
upgrade-zulip-stage-2 | ||
warn-rabbitmq-nodename-change | ||
zulip_tools.py |