Skip to content
This repository was archived by the owner on Feb 3, 2024. It is now read-only.

Commit 919c52e

Browse files
authored
Potentially Fixes 500 on load (#54)
> may fix 500 error - @harmonherring
2 parents 8488461 + a29a708 commit 919c52e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config.env.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
'post_logout_redirect_uris': [os.environ.get('QUOTEFAULT_OIDC_LOGOUT_REDIRECT_URI', 'https://quotefault.csh.rit.edu/logout')]
1818
}
1919

20+
# May fix SQLAlchemy losing connection to the database
21+
SQLALCHEMY_POOL_RECYCLE = os.environ.get("SQLALCHEMY_POOL_RECYCLE", default=500)
22+
2023
# CSH_LDAP credentials
2124
LDAP_BIND_DN = os.environ.get("LDAP_BIND_DN", default="cn=quotefault,ou=Apps,dc=csh,dc=rit,dc=edu")
2225
LDAP_BIND_PW = os.environ.get("LDAP_BIND_PW", default=None)

0 commit comments

Comments
 (0)