zulip/zproject
Mateusz Mandera dd40649e04 queue_processors: Remove the slow_queries queue.
While this functionality to post slow queries to a Zulip stream was
very useful in the early days of Zulip, when there were only a few
hundred accounts, it's long since been useless since (1) the total
request volume on larger Zulip servers run by Zulip developers, and
(2) other server operators don't want real-time notifications of slow
backend queries.  The right structure for this is just a log file.

We get rid of the queue and replace it with a "zulip.slow_queries"
logger, which will still log to /var/log/zulip/slow_queries.log for
ease of access to this information and propagate to the other logging
handlers.  Reducing the amount of queues is good for lowering zulip's
memory footprint and restart performance, since we run at least one
dedicated queue worker process for each one in most configurations.
2020-05-11 00:45:13 -07:00
..
jinja2 static: Serve webpack bundles from the root domain. 2020-04-10 00:48:02 -07:00
__init__.py
backends.py logging: Pass format arguments to unconventionally-named loggers too. 2020-05-02 16:37:07 -07:00
config.py python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
default_settings.py queue_processors: Remove the slow_queries queue. 2020-05-11 00:45:13 -07:00
dev_settings.py queue_processors: Remove the slow_queries queue. 2020-05-11 00:45:13 -07:00
dev_urls.py static: Serve webpack bundles from the root domain. 2020-04-10 00:48:02 -07:00
email_backends.py logging: Pass format arguments to logging. 2020-05-02 10:18:02 -07:00
legacy_urls.py urls: Migrate legacy urls to use modern django pattern. 2020-05-07 16:33:03 -07:00
prod_settings_template.py saml: Implement limiting of IdP to specified realms. 2020-04-16 17:04:08 -07:00
settings.py queue_processors: Remove the slow_queries queue. 2020-05-11 00:45:13 -07:00
slack_importer_test_settings.py settings: Migrate test settings to modern postgres backend name. 2019-01-23 17:08:24 -08:00
terms.md.template Add TERMS_OF_SERVICE setting. 2016-07-29 20:47:31 -07:00
test_settings.py queue_processors: Remove the slow_queries queue. 2020-05-11 00:45:13 -07:00
urls.py upload: Include filename at the end of temporary access URLs. 2020-04-20 10:25:48 -07:00
wsgi.py setup_path_on_import: Replace with setup_path function. 2020-02-25 15:40:21 -08:00