zulip/scripts/lib
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
..
third install-yarn: Fix buggy status check for the signature. 2018-04-09 15:09:37 -07:00
__init__.py Factor out venv-creating code from provision.py. 2016-06-21 11:25:41 -07:00
build-pgroonga provision: Added provision support for Ubuntu 20.04(Focal). 2020-03-17 14:57:14 -07:00
certbot-maybe-renew Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
check_rabbitmq_queue.py queue_processors: Remove the slow_queries queue. 2020-05-11 00:45:13 -07:00
clean_emoji_cache.py travis: Remove Travis unwanted code. 2020-04-28 11:11:23 -07:00
clean_node_cache.py travis: Remove Travis unwanted code. 2020-04-28 11:11:23 -07:00
clean_venv_cache.py travis: Remove Travis unwanted code. 2020-04-28 11:11:23 -07:00
clean-unused-caches python: Convert function type annotations to Python 3 style. 2020-04-18 20:42:48 -07:00
create-production-venv setup_venv: Used get_venv_dependencies() to return correct VENV dependencies. 2020-03-23 10:28:21 -07:00
create-thumbor-venv setup_venv: Replace virtualenv_args list with python2 bool. 2020-02-05 12:38:10 -08:00
email-mirror-postfix python: Convert function type annotations to Python 3 style. 2020-04-18 20:42:48 -07:00
hash_reqs.py python: Convert function type annotations to Python 3 style. 2020-04-18 20:42:48 -07:00
install update-prod-static: Remove unused authors-not-required. 2020-04-25 15:39:03 -07:00
install-node travis: Remove Travis unwanted code. 2020-04-28 11:11:23 -07:00
node_cache.py travis: Remove Travis unwanted code. 2020-04-28 11:11:23 -07:00
pythonrc.py pythonrc: Clean up type ignores. 2019-08-09 16:39:16 -07:00
queue_workers.py setup_path_on_import: Replace with setup_path function. 2020-02-25 15:40:21 -08:00
setup_path.py setup_path: Fix KeyError in setup_path for virtualenv ≥ 20. 2020-03-23 04:06:19 -07:00
setup_venv.py logging: Pass format arguments to logging. 2020-05-02 10:18:02 -07:00
setup-apt-repo provision: switch Focal to use PGroonga from PPA. 2020-03-31 15:02:31 -07:00
setup-apt-repo-debathena Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
setup-yum-repo setup-yum-repo: Add prod flag for doing IUS install on CentOS. 2019-01-05 15:49:02 -08:00
unpack-zulip scripts/lib/unpack-zulip: Avoid shelling out for rm, mv, mkdir, ln. 2018-11-28 17:48:23 -08:00
upgrade-zulip python: Convert assignment type annotations to Python 3.6 style. 2020-04-24 13:06:54 -07:00
upgrade-zulip-from-git upgrade-zulip-from-git: Fetch tags to make version info more useful. 2019-06-23 23:10:47 -07:00
upgrade-zulip-stage-2 update-prod-static: Remove unused authors-not-required. 2020-04-25 15:39:03 -07:00
zulip_tools.py logging: Pass format arguments to logging. 2020-05-02 10:18:02 -07:00