X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;ds=inline;f=config%2Fdefault.js;h=58ba307926fea8dd9cb0bbbb827b8ca152e90845;hb=b806715f9288323cce7b0ab437ee78b01d26c548;hp=9781ba6d62050a621eb722f4302e4a652d7623d1;hpb=3c547e314b79a31fb3f15412a47707a22dc3eefd;p=websub-hub
diff --git a/config/default.js b/config/default.js
index 9781ba6..58ba307 100644
--- a/config/default.js
+++ b/config/default.js
@@ -5,6 +5,10 @@
const { name: packageName, version: packageVersion } = require('../package.json');
const common = require('../src/common');
const Enum = require('../src/enum');
+const roman = require('@squeep/roman');
+
+const currentYear = (new Date()).getFullYear();
+const romanYearHTML = roman.toRoman(currentYear, true);
const defaultOptions = {
// Uniquely identify this instance, used to tag work-in-progress.
@@ -48,17 +52,19 @@ const defaultOptions = {
manager: {
pageTitle: packageName, // title on html pages
- logoUrl: '/static/logo.svg', // image to go with title
+ logoUrl: 'static/logo.svg', // image to go with title
footerEntries: [ // common footers on all html pages
'Development Repository / GitHub mirror',
- '©',
+ `©`,
],
+ publishHistoryDays: 60, // Number of days of update history to show on topic details page
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.
},
communication: {
+ requestTimeoutMs: 120000,
strictTopicHubLink: true, // If true, deletes topics which do not list us (dingus.selfBaseUrl) as a hub relation.
retryBackoffSeconds: [60, 120, 360, 1440, 7200, 43200, 86400], // failed requests retry according to number of attempts
claimTimeoutSeconds: 600, // how long until an in-progress task is deemed abandoned