Skip to content

Use a shorter timeout for CnCNet player count retrieval#896

Merged
SadPencil merged 1 commit into
developfrom
update-player-count
Dec 10, 2025
Merged

Use a shorter timeout for CnCNet player count retrieval#896
SadPencil merged 1 commit into
developfrom
update-player-count

Conversation

@SadPencil

@SadPencil SadPencil commented Dec 10, 2025

Copy link
Copy Markdown
Member

This PR differs the initial GetCnCNetPlayerCount call (sync) with the upcoming GetCnCNetPlayerCount calls (async), using 1-second and 5-second timeouts respectively. Previously the timeout is 10 second (more previously it was 100 second xD), might be a little bit of long just retrieving a number and therefore unnecessary.

@github-actions

Copy link
Copy Markdown

Nightly build for this pull request:

  • artifacts.zip
    This comment is automatic and is meant to allow guests to get latest automatic builds without registering. It is updated on every successful build.

@11EJDE11

Copy link
Copy Markdown
Member

Looks fine. I question why we're using a blocking method though. Perhaps we switch to the web label #883 when it's ready.

@SadPencil

Copy link
Copy Markdown
Member Author

Looks fine. I question why we're using a blocking method though. Perhaps we switch to the web label #883 when it's ready.

Introduced since 4193389. I don't know why

@SadPencil SadPencil merged commit 66fe24b into develop Dec 10, 2025
1 check passed
@SadPencil SadPencil deleted the update-player-count branch December 10, 2025 14:32
@Metadorius

Copy link
Copy Markdown
Member

I agree with switching to web label btw

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.

4 participants