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

Restart ScheduleController once buffer is pruned only after QuotaExceedeError #3205

Conversation

bbert
Copy link
Contributor

@bbert bbert commented Mar 25, 2020

In ScheduleController there is a mechanism to restart the scheduler once buffer has been pruned in case of QuotaExceededError.
But scheduler may have been stopped for some other reasons/errors, for example if BaseURL resolution failed (after a segment download error for example).
And since there is a buffer pruning timer (every 10sec by default, see bufferPruningInterval parameter) then the scheduler was also restarted in this case, which is not the desired behavior.
We want the scheduler to restart automatically only after QuotaExceedeError.

This PR fixes this issue.

@bbert bbert added the Bug label Mar 25, 2020
@dsilhavy dsilhavy added this to the 3.1.0 milestone Mar 26, 2020
@dsilhavy dsilhavy merged commit 63c99e2 into Dash-Industry-Forum:development Mar 26, 2020
@bbert bbert deleted the fix-schedulecontroller-quotaexceeded branch March 30, 2020 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants