Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miscellaneous Postgresql Fixes to Formula, gunicorn Worker Timeout by Default #8

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

p6knewman
Copy link

Hi!

Loving alcali so far and appreciate you open-sourcing this! We're using a postgres backend and ran into a few minor issues with the formula. Also frequently ran into worker timeouts when refreshing our 200 or so minions in this environment. Thoughts on this PR?

  • Changing db_backend for PGSQL from postgres->postgresql to match the name of the Django DB backend name
  • Setting a higher default gunicorn worker timeout. Seeing the 30s default get hit regularly when using only 200 or so minions
  • Adding worker_timeout to systemd unit
Jun 25 13:54:37 svlchi6dsalt1 alcali[12269]: django.core.exceptions.ImproperlyConfigured: 'django.db.backends.postgres' isn't an available database backend.
Jun 25 13:54:37 svlchi6dsalt1 alcali[12269]: Try using 'django.db.backends.XXX', where XXX is one of:
Jun 25 13:54:37 svlchi6dsalt1 alcali[12269]:     'mysql', 'oracle', 'postgresql', 'sqlite3'

…e name of the Django DB backend name

- Setting a higher default gunicorn worker timeout. Seeing the 30s default get hit regularly when using only 200 or so minions
- Adding worker_timeout to systemd unit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant