From efba6312825a042ba447fa28504f1d8098ae8c09 Mon Sep 17 00:00:00 2001 From: akirilyuk Date: Thu, 3 Feb 2022 18:48:01 +0100 Subject: [PATCH] remove killing gather --- lib/tasks/gather.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/tasks/gather.js b/lib/tasks/gather.js index e9c84ce2..fbe850ea 100644 --- a/lib/tasks/gather.js +++ b/lib/tasks/gather.js @@ -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) - } + // } } }); }