mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-10-30 15:24:28 +00:00
change timeout to 1
This commit is contained in:
1 parent
1050eb47cd
commit
f8e88f085f
1 file changed
+1
-1
+1
-1
@@ -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