Skip to content

Commit

Permalink
fixup (squash): put back CONN_MAX_AGE
Browse files Browse the repository at this point in the history
teamhephy#75 (review)

>  I think this is a different CONN_MAX_AGE env variable?

I don't see where else this variable is used, but no other change is
present which could have caused the tests to fail ?
  • Loading branch information
Kingdon Barrett committed Nov 27, 2020
1 parent e1ccd50 commit 3f45071
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rootfs/api/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
'security.W008'
]

CONN_MAX_AGE = 60 * 3

# SECURITY: change this to allowed fqdn's to prevent host poisioning attacks
# https://docs.djangoproject.com/en/1.11/ref/settings/#allowed-hosts
ALLOWED_HOSTS = ['*']
Expand Down

0 comments on commit 3f45071

Please sign in to comment.