mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
ensure that all actions play at least once
This commit is contained in:
@@ -51,7 +51,7 @@ class ActionHookDelayProcessor extends Emitter {
|
|||||||
this.logger.debug({opts}, 'ActionHookDelayProcessor#init');
|
this.logger.debug({opts}, 'ActionHookDelayProcessor#init');
|
||||||
|
|
||||||
this.actions = opts.actions;
|
this.actions = opts.actions;
|
||||||
this.retries = opts.retries || 0;
|
this.retries = Math.max((opts.retries || 1), opts.actions.length);
|
||||||
this.noResponseTimeout = opts.noResponseTimeout;
|
this.noResponseTimeout = opts.noResponseTimeout;
|
||||||
this.noResponseGiveUpTimeout = opts.noResponseGiveUpTimeout;
|
this.noResponseGiveUpTimeout = opts.noResponseGiveUpTimeout;
|
||||||
this.giveUpActions = opts.giveUpActions;
|
this.giveUpActions = opts.giveUpActions;
|
||||||
|
|||||||
Reference in New Issue
Block a user