8000 Skip MOTD periodic updates by wroyca · Pull Request #197 · iw4x/iw4x-client · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Skip MOTD periodic updates #197

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

Merged
merged 1 commit into from
Jan 19, 2025
Merged

Skip MOTD periodic updates #197

merged 1 commit into from
Jan 19, 2025

Conversation

wroyca
Copy link
Collaborator
@wroyca wroyca commented Jan 14, 2025

Polling every 3 minutes for MOTD update is wasteful, especially since content rarely changes. Instead, we can simplify implementation by fetching MOTD once during initialization and skipping periodic updates altogether.

This also removes the wine check that prevented changelog and MOTD from loading. Not sure why it was introduced, and blame doesn't reveal much about it:

Before

image

After

image

@wroyca wroyca requested a review from Rackover January 14, 2025 22:20
polling every 3 minutes for MOTD update is wasteful, especially since
content rarely changes. Instead, we can simplify implementation by
fetching MOTD once during initialization and skipping periodic updates
altogether
@wroyca wroyca merged commit a81e7b3 into iw4x:develop Jan 19, 2025
2 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
0