Skip to content

feature: let an empty server hibernate and still take a match - #214

Merged
lukepolo merged 11 commits into
mainfrom
feature/ping-through-hibernation
Oct 6, 2026
Merged

lukepolo merged 11 commits into
mainfrom
feature/ping-through-hibernation

Conversation

@lukepolo

@lukepolo lukepolo commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor
  • a hibernating server stops ticking, so the panel ping stopped and a newly assigned match sat unapplied until somebody connected
  • the ping now runs off world updates, which continue through hibernation
  • match setup that has to finish before anyone connects is queued on the next world update whenever the server is not ticking; while it is ticking it takes the next tick exactly as before
  • once a server has a match it turns sv_hibernate_when_empty off and stays awake until that match is gone, so timers and the end-of-map work never stall on an empty server
  • both runtimes: Swiftly detects "not ticking" from OnTick going quiet, CounterStrikeSharp from OnServerHibernationUpdate
  • ranked.server.cfg still sets sv_hibernate_when_empty 0; a server opts in with HIBERNATE_WHEN_EMPTY=true, which both images' setup.sh now honour and the dev manifests set

@lukepolo
lukepolo marked this pull request as draft October 5, 2026 17:37
@lukepolo lukepolo changed the title feature: keep pinging the panel while the server hibernates feature: let an empty server hibernate and still take a match Oct 5, 2026
@lukepolo
lukepolo marked this pull request as ready for review October 6, 2026 01:44
@lukepolo
lukepolo merged commit 553d61e into main Oct 6, 2026
6 checks passed
@lukepolo
lukepolo deleted the feature/ping-through-hibernation branch October 6, 2026 01:45
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.

1 participant