mirror of
https://github.com/zulip/zulip.git
synced 2026-06-27 21:01:32 +08:00
Factor out the repeated pattern of taking a lock, or immediately aborting with a message if it cannot be acquired. The exit code in that situation is changed to be exit code 1, rather than the successful 0; we are likely missing new work since that process started. We move the lockfiles to a common directory under `/srv/zulip-locks` rather than muddy up `/home/zulip/deployments`. |
||
|---|---|---|
| .. | ||
| lib | ||
| management | ||
| migrations | ||
| tests | ||
| views | ||
| __init__.py | ||
| models.py | ||
| urls.py | ||