X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=config%2Fdefault.js;h=70837b1c34aa3fa5bdec4d8804df22ed50576847;hb=refs%2Ftags%2Fv1.1.4;hp=5c7091fce7ce87befc70a54bc1146856d141f4dd;hpb=9696c012e6b9a6c58904baa397ca0ebf78112316;p=websub-hub
diff --git a/config/default.js b/config/default.js
index 5c7091f..70837b1 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
@@ -38,6 +44,10 @@ const defaultOptions = {
manager: {
pageTitle: packageName, // title on html pages
+ footerEntries: [ // common footers on all html pages
+ 'Development Repository / GitHub mirror',
+ '©',
+ ],
strictSecrets: false, // If true, reject requests with secrets but not over https
publicHub: true, // Accept publish requests as new topics.
processImmediately: true, // If true, immediately attempt to process requests when accepted.