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

Wait to log in before starting background tasks #234

Merged
merged 1 commit into from
Mar 29, 2024
Merged

Conversation

ulyssa
Copy link
Owner

@ulyssa ulyssa commented Mar 29, 2024

There seems to be a race where sometimes the client crashes on the client.notification_settings().await call because the client isn't logged in yet. All of the background refresh/notification tasks can just until the client is successfully logged in before doing anything.

@ulyssa ulyssa added this to the v0.0.9 milestone Mar 29, 2024
@ulyssa ulyssa enabled auto-merge (squash) March 29, 2024 04:05
@ulyssa ulyssa merged commit 5a2a7b0 into main Mar 29, 2024
4 checks passed
@ulyssa ulyssa deleted the start-tasks-post-login branch March 29, 2024 04:14
@ulyssa ulyssa mentioned this pull request Mar 29, 2024
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.

1 participant