mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
remove killing gather
This commit is contained in:
@@ -105,14 +105,14 @@ class TaskGather extends Task {
|
|||||||
if (err) return this.logger.error({err}, 'Gather:exec Error playing tts');
|
if (err) return this.logger.error({err}, 'Gather:exec Error playing tts');
|
||||||
this.logger.debug('Gather: say task completed');
|
this.logger.debug('Gather: say task completed');
|
||||||
if (!this.killed) {
|
if (!this.killed) {
|
||||||
if (this.listenAfterSpeech) {
|
// if (this.listenAfterSpeech) {
|
||||||
startListening(cs, ep);
|
startListening(cs, ep);
|
||||||
} else {
|
// } else {
|
||||||
setTimeout(()=>{
|
// setTimeout(()=>{
|
||||||
this.kill(cs);
|
// this.kill(cs);
|
||||||
},2000)
|
// },2000)
|
||||||
|
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user