-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/gather timeout #594
Fix/gather timeout #594
Conversation
can you open an issue and describe this bug? |
Opened issue |
lib/tasks/gather.js
Outdated
@@ -35,6 +35,7 @@ class TaskGather extends SttTask { | |||
|
|||
/* timeout of zero means no timeout */ | |||
this.timeout = this.timeout === 0 ? 0 : (this.timeout || 15) * 1000; | |||
this.interDigitTimeout = (this.interDigitTimeout > 0 ? this.interDigitTimeout : 0) * 1000; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was this changed needed to fix this bug? Or is it an unrelated fix?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is to make sure there is value for interDigitTimeout that later we can do compare this. interDigitTimeout <= 0.
But I think this is not needed.
I added new changes and retested on jambonz.me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I have a feeling we are over-complicating things here. I will have more time to review later today
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where are we with this PR @xquanluu ?
95c097b
to
879dbc7
Compare
I remembered that you gave me some suggestion to solve this problem, I applied and retested on jambonz.me, and it was working at that time. It's good to be merged |
Fix gather cannot be timeout if missing
minDigits
#597