Skip to content
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

Merged
merged 7 commits into from
Feb 12, 2024
Merged

Fix/gather timeout #594

merged 7 commits into from
Feb 12, 2024

Conversation

xquanluu
Copy link
Contributor

@xquanluu xquanluu commented Jan 8, 2024

Fix gather cannot be timeout if missing minDigits

#597

@davehorton
Copy link
Contributor

can you open an issue and describe this bug?

@xquanluu
Copy link
Contributor Author

xquanluu commented Jan 8, 2024

Opened issue

@@ -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;
Copy link
Contributor

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?

Copy link
Contributor Author

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

Copy link
Contributor

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

Copy link
Contributor

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 ?

@xquanluu
Copy link
Contributor Author

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

@davehorton davehorton merged commit cdd25ca into main Feb 12, 2024
3 checks passed
@davehorton davehorton deleted the fix/gather_timeout branch February 12, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants