oncall-engine/engine/engine
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
..
logging World, meet OnCall! 2022-06-03 08:09:47 -06:00
management/commands Fix local dev setup slowness (#1270) 2023-02-02 09:08:48 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
celery.py Move env vars to docker-compose-dev.yml and clean up 2023-01-04 10:49:42 +08:00
middlewares.py patch engine logging middleware (#950) 2022-12-05 17:01:49 +01:00
parsers.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
urls.py Allow viewers fetch cloud connection status (#1181) 2023-01-23 11:17:57 +00:00
views.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
wsgi.py Remove local uwsgi instrumentation and local development tempo and agent 2023-01-04 22:25:17 +08:00