You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"expires": int(60*60*1*1.2), # If a task is not executed within 72 minutes, it should be dropped from the queue. Two more tasks should be scheduled in the meantime.
1265
+
},
1263
1266
},
1264
1267
"cleanup-alerts": {
1265
1268
"task": "dojo.tasks.cleanup_alerts",
1266
1269
"schedule": timedelta(hours=8),
1270
+
"options": {
1271
+
"expires": int(60*60*8*1.2), # If a task is not executed within 9.6 hours, it should be dropped from the queue. Two more tasks should be scheduled in the meantime.
1272
+
},
1267
1273
},
1268
1274
"dedupe-delete": {
1269
1275
"task": "dojo.tasks.async_dupe_delete",
1270
1276
"schedule": timedelta(minutes=1),
1277
+
"options": {
1278
+
"expires": int(60*1*1.2), # If a task is not executed within 72 seconds, it should be dropped from the queue. Two more tasks should be scheduled in the meantime.
1279
+
},
1271
1280
},
1272
1281
"flush_auditlog": {
1273
1282
"task": "dojo.tasks.flush_auditlog",
1274
1283
"schedule": timedelta(hours=8),
1284
+
"options": {
1285
+
"expires": int(60*60*8*1.2), # If a task is not executed within 9.6 hours, it should be dropped from the queue. Two more tasks should be scheduled in the meantime.
"expires": int(60*60*3*1.2), # If a task is not executed within 9 hours, it should be dropped from the queue. Two more tasks should be scheduled in the meantime.
"expires": int(60*60*24*1.2), # If a task is not executed within 28.8 hours, it should be dropped from the queue. Two more tasks should be scheduled in the meantime.
"schedule": crontab(minute=0, hour="*/3"), # every 3 hours
1304
+
"schedule": crontab(minute=0, hour="*/3"), # every 72 minutes
1305
+
"options": {
1306
+
"expires": int(60*60*3*1.2), # If a task is not executed within 9 hours, it should be dropped from the queue. Two more tasks should be scheduled in the meantime.
"expires": int(60*1*1.2), # If a task is not executed within 72 seconds, it should be dropped from the queue. Two more tasks should be scheduled in the meantime.
1314
+
},
1291
1315
},
1292
1316
"trigger_evaluate_pro_proposition": {
1293
1317
"task": "dojo.tasks.evaluate_pro_proposition",
1294
1318
"schedule": timedelta(hours=8),
1319
+
"options": {
1320
+
"expires": int(60*60*8*1.2), # If a task is not executed within 9.6 hours, it should be dropped from the queue. Two more tasks should be scheduled in the meantime.
"expires": int(60*60*24*7*1.2), # If a task is not executed within 8.4 days, it should be dropped from the queue. Two more tasks should be scheduled in the meantime.
0 commit comments