use got instead of axios, some cleanup, problem with async context being lost for...
[websub-hub] / config / default.js
index 3f54d9a24d4f524efd472e892c55c730f6f4bd41..2d3f34e92ba05109dd165e7771b9cad6621bc60f 100644 (file)
@@ -60,6 +60,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