mirror of https://github.com/zulip/zulip.git
e3e52e7284
This fixes a performance problem where we were previously starting up a full Django process (~0.7s even on a fast machine) every time a new email came in, potentially allowing users to accidentally DoS a Zulip server. Now, we just post over HTTPS, allowing the existing thread pool support to do its job. - Add script wrapper to communicate postfix pipe with django web server over HTTP(S). It uses shared_secret authentication mode. - Add django view to process messages from email mirror server. - Clean management command `email-mirror`. Left just functional for cron email processing. - Add routes for new tornado view. - Change pipe script in master process postfix config template based on updated script. - Add tests. Tweaked by tabbott to adjust the directory and set better defaults. Fixes #2421. |
||
---|---|---|
.. | ||
__init__.py | ||
check-upstart | ||
create-production-venv | ||
email-mirror-postfix | ||
hash_reqs.py | ||
install | ||
install-node | ||
log-management-command | ||
node_cache.py | ||
pythonrc.py | ||
queue_workers.py | ||
setup-apt-repo | ||
setup_path_on_import.py | ||
setup_venv.py | ||
unpack-zulip | ||
upgrade-zulip | ||
upgrade-zulip-stage-2 | ||
zulip_tools.py |