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

Improve message handling and pause fetching if no one is online #45

Merged
merged 4 commits into from
Nov 19, 2024

Conversation

TrueDoctor
Copy link
Member

  • Pause fetching from the api if no one is online
  • Increase the message channel size to avoid loosing updates with many connected players
  • Improve startup time by starting the webserver and initializing the game state in parallel
  • Dispatch updates to clients concurrently

Copy link
Contributor

@konsumlamm konsumlamm left a comment

Choose a reason for hiding this comment

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

Looks good!

robusta/src/main.rs Outdated Show resolved Hide resolved
robusta/src/main.rs Outdated Show resolved Hide resolved
robusta/src/main.rs Outdated Show resolved Hide resolved
robusta/src/main.rs Show resolved Hide resolved
robusta/src/main.rs Outdated Show resolved Hide resolved
robusta/src/main.rs Outdated Show resolved Hide resolved
@konsumlamm konsumlamm merged commit 1375eed into main Nov 19, 2024
4 checks passed
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