2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00

FEATURE: add connnection reaping based on maximum age

This feature ensures connections to the db are always attempted to be closed
after 600 seconds of idle time.
This commit is contained in:
Sam 2015-10-17 11:29:16 +11:00
parent 5bea933370
commit 805120fc95
3 changed files with 11 additions and 8 deletions

View file

@ -123,6 +123,8 @@ new_version_emails = true
connection_reaper_age = 30
# run reap check every 30 seconds
connection_reaper_interval = 30
# also reap any connections older than this
connection_reaper_max_age = 600
# set to relative URL (for subdirectory hosting)
# IMPORTANT: path must not include a trailing /