oncall-engine/engine/settings
Vadim Stepanov 9b709e86c9
Fix local dev setup slowness (#1270)
# What this PR does
Fixes an issue when a local dev setup becomes extremely slow.

- Set `DEBUG` and `SILK_PROFILER_ENABLED` to `False` by default + add
utility make commands to toggle it
- Use `uwsgi` instead of Django's built-in `runserver` for local dev
setup
- Limit Celery concurrency to 3 for local dev setup (previously was 20,
used >1GB RAM on my machine)

---------

Co-authored-by: Joey Orlando <joey.orlando@grafana.com>
2023-02-02 09:08:48 +00:00
..
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
base.py add django-dbconn-retry library (#1262) 2023-01-31 20:17:54 +01:00
ci-test.py Restore email notifications (#621) 2022-10-19 12:32:56 +01:00
dev.py Fix local dev setup slowness (#1270) 2023-02-02 09:08:48 +00:00
helm.py Allow multiple database and celery broker types (#582) 2022-10-04 09:25:53 +01:00
hobby.py Allow multiple database and celery broker types (#582) 2022-10-04 09:25:53 +01:00
prod_without_db.py Move FCM relay logic into a celery task (#1137) 2023-01-13 19:28:34 +00:00