mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-10-24 12:24:20 +00:00
remove killing gather
This commit is contained in:
1 parent
2fc3febcf6
commit
efba631282
1 file changed
+6
-6
+6
-6
@@ -105,14 +105,14 @@ class TaskGather extends Task {
|
||||
if (err) return this.logger.error({err}, 'Gather:exec Error playing tts');
|
||||
this.logger.debug('Gather: say task completed');
|
||||
if (!this.killed) {
|
||||
if (this.listenAfterSpeech) {
|
||||
// if (this.listenAfterSpeech) {
|
||||
startListening(cs, ep);
|
||||
} else {
|
||||
setTimeout(()=>{
|
||||
this.kill(cs);
|
||||
},2000)
|
||||
// } else {
|
||||
// setTimeout(()=>{
|
||||
// this.kill(cs);
|
||||
// },2000)
|
||||
|
||||
}
|
||||
// }
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user