mirror of
https://github.com/zulip/zulip.git
synced 2026-07-06 21:18:58 +08:00
Filling caches needs to happen close to when the server is restarted, as the gap opens us up to race conditions with user modifications. If there are migrations, however, it must happen within the critical period after the migrations are applied. Move the call to fill the caches to within the `shutdown_server` function, so that we push it as close to the server shutdown as possible. |
||
|---|---|---|
| .. | ||
| lib | ||
| nagios | ||
| setup | ||
| __init__.py | ||
| get-django-setting | ||
| log-search | ||
| purge-old-deployments | ||
| README.md | ||
| refresh-sharding-and-restart | ||
| restart-server | ||
| start-server | ||
| stop-server | ||
| upgrade-zulip | ||
| upgrade-zulip-from-git | ||
| zulip-puppet-apply | ||
This directory contains scripts that:
-
Generally do not require access to Django or the database (those are "management commands"), and thus are suitable to run operationally.
-
Are useful for managing a production deployment of Zulip (many are also used in a Zulip development environment, though development-only scripts live in
tools/).
For more details, see https://zulip.readthedocs.io/en/latest/overview/directory-structure.html.