Skip to content

Bug: Archive missions are loaded multiple times when connection to API is lost and bot is reconnecting #4

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

Closed
Ilddor opened this issue Jan 15, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@Ilddor
Copy link
Contributor

Ilddor commented Jan 15, 2020

No description provided.

@Ilddor Ilddor added the bug Something isn't working label Jan 15, 2020
@3Mydlo3 3Mydlo3 changed the title Archive missions are loaded multiple times when connection to API is lost and bot is reconnecting Bug: Archive missions are loaded multiple times when connection to API is lost and bot is reconnecting Feb 3, 2021
@Smieszkokoleszko
Copy link
Contributor

Couldn't recreate this. Archived missions are loaded once on startup and once while reconnecting or not multiply while reloading.

@3Mydlo3
Copy link
Member

3Mydlo3 commented Feb 3, 2021

I think this is related to fetching the archived missions on each reconnect. If you enter debugging and place a breakpoint there it will be consistently hit every few minutes. Maybe we should block this to once every hour or so as the archived missions don't change frequently.

@3Mydlo3
Copy link
Member

3Mydlo3 commented Apr 29, 2021

Probably fixed by #47

@3Mydlo3 3Mydlo3 closed this as completed Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants