mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-10-18 17:34:21 +00:00
use a timeout
This commit is contained in:
1 parent
fce40a47ce
commit
4636b487b4
1 file changed
+3
-1
+3
-1
@@ -108,7 +108,9 @@ class TaskGather extends Task {
|
||||
if (this.listenAfterSpeech) {
|
||||
startListening(cs, ep);
|
||||
} else {
|
||||
this.notifyTaskDone();
|
||||
setTimeout(()=> {
|
||||
this.notifyTaskDone();
|
||||
}, 2000);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user