Skip to content

Reduce CPU usage when stin/input is not available#270

Merged
hakusaro merged 1 commit intoPryaxis:general-develfrom
SignatureBeef:improvement-docker-100cpu
Mar 7, 2026
Merged

Reduce CPU usage when stin/input is not available#270
hakusaro merged 1 commit intoPryaxis:general-develfrom
SignatureBeef:improvement-docker-100cpu

Conversation

@SignatureBeef
Copy link
Member

See: Pryaxis/TShock#3131

-disable-commands is a thing which will disable the command thread altogether, however, this PR will (hopefully) implement better handling for those retaining the command thread.

Before:
image

After:
image

… when ReadLine returns null

This can occur in some docker setups
@hakusaro hakusaro merged commit 29b324b into Pryaxis:general-devel Mar 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants