mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
use a timeout
This commit is contained in:
@@ -108,7 +108,9 @@ class TaskGather extends Task {
|
|||||||
if (this.listenAfterSpeech) {
|
if (this.listenAfterSpeech) {
|
||||||
startListening(cs, ep);
|
startListening(cs, ep);
|
||||||
} else {
|
} else {
|
||||||
|
setTimeout(()=> {
|
||||||
this.notifyTaskDone();
|
this.notifyTaskDone();
|
||||||
|
}, 2000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user