X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;ds=inline;f=config%2Fdefault.js;h=58ba307926fea8dd9cb0bbbb827b8ca152e90845;hb=e23bda592175ae5ed772f366069ccfd2f60e1f70;hp=3f54d9a24d4f524efd472e892c55c730f6f4bd41;hpb=e3bce15e1777f5d7b03b7ba15444ca4335ec9bde;p=websub-hub
diff --git a/config/default.js b/config/default.js
index 3f54d9a..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.
@@ -51,7 +55,7 @@ const defaultOptions = {
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
@@ -60,6 +64,7 @@ const defaultOptions = {
},
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