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

Ensure sessions are sent in the background #294

Closed
wants to merge 1 commit into from
Closed

Conversation

snmaynard
Copy link
Contributor

When starting the app we can send sessions on the main thread which causes a slowdown on boot. This changes the timer to fire immediately rather than calling the session tick function manually.

When starting the app we can send sessions on the main thread which causes a slowdown on boot. This changes the timer to fire immediately rather than calling the session tick function manually.
@snmaynard
Copy link
Contributor Author

I think that this implementation will still cause the timer to fire on the main thread so this needs a bigger rethink. I lack the context on the decision to use a timer rather than just a network threadpool that we push to here so I will hold off on making larger changes.

@kattrali
Copy link
Contributor

Replaced by #295

@kattrali kattrali closed this Jul 17, 2018
@kattrali kattrali deleted the timer-thread branch August 9, 2019 16:37
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