X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=config%2Fdefault.js;fp=config%2Fdefault.js;h=1905315cec7a1b69eb0e962513923745ff05db64;hb=3fae9b64c5c70ad52376558caa71db99778541b0;hp=5c7091fce7ce87befc70a54bc1146856d141f4dd;hpb=4f64b8910e1295207a42c757cb81c9b0e9ee3be2;p=websub-hub diff --git a/config/default.js b/config/default.js index 5c7091f..1905315 100644 --- a/config/default.js +++ b/config/default.js @@ -22,6 +22,12 @@ const defaultOptions = { db: { connectionString: '', // e.g. sqlite://path/to/dbfile.sqlite queryLogLevel: undefined, // Set to log queries + cacheEnabled: true, // Cache some db responses. (Postgres only) + listener: { // Settings for the cache-invalidator connection. (Postgres only) + // pingDelayMs: 5000, // Connection keep-alive/health-check. + // reconnectDelayMs: 6000, // Wait time before attempting reconnection. + // reconnectTimes: 10, // Retries limit. + }, }, // Logging options