Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

Commit f527d1e

Browse files
authored
Merge pull request #2526 from withspectrum/cherry-pick
Cherry pick
2 parents 8ad89a0 + 52f4149 commit f527d1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

iris/models/db.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const DEFAULT_CONFIG = {
1010
max: 100, // Maximum number of connections, default is 1000
1111
buffer: 5, // Minimum number of connections open at any given moment, default is 50
1212
timeoutGb: 60 * 1000, // How long should an unused connection stick around, default is an hour, this is a minute
13+
pingInterval: 300, // Ping the connection every 5 minutes (300 seconds) to keep it alive and prevent rethinkdbdash#192
1314
};
1415

1516
const PRODUCTION_CONFIG = {

0 commit comments

Comments
 (0)