0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 00:47:50 +01:00
posthog/bin
Karl-Aksel Puulmann bbd41ef04a
Use -Ofair for celery workers (#5063)
From https://medium.com/@taylorhughes/three-quick-tips-from-two-years-with-celery-c05ff9d7f9eb

> By default, preforking Celery workers distribute tasks to their worker processes as soon as they are received, regardless of whether the process is currently busy with other tasks.
> If you have a set of tasks that take varying amounts of time to complete — either deliberately or due to unpredictable network conditions, etc. — this will cause unexpected delays in total execution time for tasks in the queue.

This is 100% the case for us. This should "load balance" the tasks
better across workers.
2021-07-12 13:52:05 +03:00
..
check-typescript-strict
component-test-runner Add bin script to start Cypress component tests (#4186) 2021-05-04 17:14:17 -04:00
docker
docker-backend Docker support on the Apple M1 chip / arm64 (#4024) 2021-04-19 10:12:02 -04:00
docker-dev
docker-dev-web
docker-frontend
docker-migrate
docker-server
docker-worker
docker-worker-beat Remove NewRelic from Cloud (#4716) 2021-06-14 11:01:57 +02:00
docker-worker-celery Use -Ofair for celery workers (#5063) 2021-07-12 13:52:05 +03:00
e2e-test-runner Fix e2e tests (#4357) 2021-05-20 16:42:26 +02:00
install-macosx_arm64 bump cryptography==3.4.7 and add macosx_arm64 install script (#3935) 2021-04-10 00:53:19 +02:00
plugin-server Get rid of DATABASE_URL and REDIS_URL construction in bin/plugin-server (#3873) 2021-04-06 11:39:30 +02:00
pull_production_db
start Default set debug=1 to bin/start (#3807) 2021-04-06 15:50:48 +02:00
start-backend
start-frontend
start-frontend-https
start-https
start-worker Use -Ofair for celery workers (#5063) 2021-07-12 13:52:05 +03:00
tests Warn before running all tests (#4204) 2021-05-04 15:41:22 +02:00