mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
change timeout to 1
This commit is contained in:
@@ -25,7 +25,7 @@ class TaskGather extends Task {
|
||||
this.minBargeinWordCount = this.data.minBargeinWordCount || 1;
|
||||
// this is specially for barge in where we want to make a bargebale promt
|
||||
// to a user without listening after the say task has finished
|
||||
this.timeout = this.data.listenAfterSpeech === false ? 0 : (this.timeout || 15) * 1000;
|
||||
this.timeout = this.data.listenAfterSpeech === false ? 1 : (this.timeout || 15) * 1000;
|
||||
this.interim = this.partialResultCallback || this.bargein;
|
||||
if (this.data.recognizer) {
|
||||
const recognizer = this.data.recognizer;
|
||||
|
||||
Reference in New Issue
Block a user