mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-10-21 02:44:22 +00:00
ensure that all actions play at least once
This commit is contained in:
1 parent
87195b6444
commit
9bbc76df12
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user