Compare commits

...

2 Commits

Author SHA1 Message Date
Sam Machin
3b4e0bcd60 Merge branch 'main' into fix/1155 2025-05-13 15:44:33 +01:00
Sam Machin
9bbc76df12 ensure that all actions play at least once 2025-04-15 11:44:13 +01:00

View File

@@ -51,7 +51,7 @@ class ActionHookDelayProcessor extends Emitter {
this.logger.debug({opts}, 'ActionHookDelayProcessor#init');
this.actions = opts.actions;
this.retries = opts.retries || 0;
this.retries = Math.max((opts.retries || 1), opts.actions.length);
this.noResponseTimeout = opts.noResponseTimeout;
this.noResponseGiveUpTimeout = opts.noResponseGiveUpTimeout;
this.giveUpActions = opts.giveUpActions;