heroku / django-heroku

[DEPRECATED] Do not use! See https://github.com/heroku/django-heroku/issues/56
BSD 3-Clause "New" or "Revised" License
459 stars 142 forks source link

Pull in CONN_MAX_AGE from config if provided #9

Closed p13i closed 6 years ago

p13i commented 6 years ago

If settings.py provide a CONN_MAX_AGE, we should use that value instead of setting it to 600 ms through core.py's MAX_CONN_AGE setting.

By overriding this setting with 600, this package causes some connection utilization issues on Heroku.

sigmavirus24 commented 6 years ago

Thanks @p13i!