Skip to content

Conversation

@rtibbles
Copy link
Member

@rtibbles rtibbles commented Oct 9, 2023

Fixes #163

This fixes errors caused by the implementation of task scheduling via WorkManager. The documentation is not terribly clear on this point, but it seems that setExpedited cannot be called on either delayed tasks or periodic tasks.

This PR prevents this happening in either case and adds explanatory comments so that we don't forget.

Copy link
Member

@nucleogenesis nucleogenesis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code change LGTM - comments are very clear. It's nice to have direct links to the platform source that just says "you can't do that".

@rtibbles rtibbles merged commit 0044cb5 into develop Oct 13, 2023
@rtibbles rtibbles deleted the expeditionary branch October 13, 2023 15:10
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.

Errors happen when a high priority task is scheduled for the future

3 participants