+
+const AP_CLEANER = {
+ CONCURRENCY: 10, // How many requests in parallel we do in activitypub-cleaner job
+ UNAVAILABLE_TRESHOLD: 3, // How many attemps we do before removing an unavailable remote resource
+ PERIOD: parseDurationToMs('1 week') // /!\ Has to be sync with REPEAT_JOBS
+}
+
+const REQUEST_TIMEOUTS = {
+ DEFAULT: 7000, // 7 seconds
+ FILE: 30000, // 30 seconds
+ REDUNDANCY: JOB_TTL['video-redundancy']
+}
+