mirror of https://github.com/zulip/zulip.git
14a2b5473f
Because Django does not support returning the inserted row-ids with a `bulk_create(..., ignore_conflicts=True)`, we previously counted the total rows before and after insertion. This is rather inefficient, and can lead to database contention when many servers are reporting statistics at once. Switch to reaching into the private `_insert` method, which does support what we need. While relying a private method is poor form, it is mildly preferable to attempting to re-implement all of the complexities of it. |
||
---|---|---|
.. | ||
lib | ||
management | ||
migrations | ||
README.md | ||
__init__.py | ||
auth.py | ||
models.py | ||
urls.py | ||
views.py |
README.md
ZILENCER -- The Zulip license manager
This app is the place for storing state about various deployments of Zulip that exist in the world.