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

Foreground Service Mitigations #408

Merged
merged 1 commit into from
Jan 22, 2025
Merged

Conversation

sdsantos
Copy link
Contributor

Closes #405

setForeground on workers with foreground service type.
Handle restrictions and early stops. Timeouts and other early stops are catched as CancellationException.
Also tried to make logging more similar across the 2 workers.

@sdsantos sdsantos requested a review from aanorbel January 21, 2025 16:33
Copy link
Member

@aanorbel aanorbel left a comment

Choose a reason for hiding this comment

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

🐳

@sdsantos sdsantos merged commit c20b684 into main Jan 22, 2025
8 checks passed
@sdsantos sdsantos deleted the foreground-service-mitigations branch January 22, 2025 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

ForegroundService issue mitigation
2 participants