mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
Bugfix/bot mode restart (#292)
* restart background gather if we get a new config with bargein=enable and changes to input types * stop background gather properly before restarting * fix: sticky background gather tasks must not be restarted if we have a new background gather * fix undefined reference * safety
This commit is contained in:
@@ -130,7 +130,7 @@ class TaskGather extends Task {
|
||||
}
|
||||
|
||||
async exec(cs, {ep}) {
|
||||
this.logger.debug('Gather:exec');
|
||||
this.logger.debug({options: this.data}, 'Gather:exec');
|
||||
await super.exec(cs);
|
||||
const {updateSpeechCredentialLastUsed} = require('../utils/db-utils')(this.logger, cs.srf);
|
||||
const {getNuanceAccessToken, getIbmAccessToken} = cs.srf.locals.dbHelpers;
|
||||
|
||||
Reference in New Issue
Block a user