Waiting rooms for maintenance
Schedule maintenance for a game server or site: people who arrive keep their place and see when you're back, and the reopen eases in from a tenth of the pace to full speed.
When a game server, an online shop or a booking site comes back from maintenance, everyone who was waiting tries at once: players who were logged out, customers who saw "back at 6:00", apps that keep retrying. The servers have just restarted, caches are cold and autoscaling hasn't caught up, so the first minute after a reopen is often harder than any sale. A waiting room turns that minute into an orderly line: people who arrive during maintenance take a place and see when you'll be back, and once you reopen they're let in gradually, in the order they came.
What your players and customers see
- During maintenance: their place in line and "We're doing scheduled maintenance until 06:00", in their own language, instead of an error page.
- A place that a refresh, a second tab or a client restart doesn't lose or improve.
- At the reopen: the line moves on its own, in the order people arrived.

What you get
- A maintenance window you schedule ahead: the line holds still from the start to the end, then moves again by itself.
- A gentle reopen: the line starts at a tenth of its pace and climbs to full speed over the minutes you choose, so servers, caches and databases warm up under real traffic instead of all of it at once.
- Maintenance running long? Move the end time, or pause the room and open it when you're ready. The gentle reopen then starts from that moment.
- One room for every day: after the reopen, capacity mode only forms a line when your servers are full.
Step 1: schedule the window
Open the room's settings in the portal and fill in Maintenance and reopening, or send a signed request to the HTTP API:
POST /apps/APP_ID/waiting_rooms/game-login
{
"mode": "capacity",
"max_active_users": 20000,
"maintenance_from": "2026-12-10T02:00:00Z",
"maintenance_until": "2026-12-10T06:00:00Z",
"warmup_minutes": 20,
"title": "Server maintenance"
}Leave out maintenance_from to start the window now. Send "maintenance_until": "" to remove it.
Step 2: send people to the line
On a website, protect() or your framework's middleware sends visitors without a pass to the waiting page, the same as for a sale: see the waiting room guide. A game client or app joins through the public endpoints and hands the pass to your login server:
POST /waitroom/APP_KEY/game-login/join -> {"ticket": "…", "number": 18342}
GET /waitroom/APP_KEY/game-login -> {"maintenance_until": "2026-12-10T06:00:00Z", "admitted": 0, …}
POST /waitroom/APP_KEY/game-login/pass {"ticket": "…"} -> {"pass": "…"}Your login server checks the pass with your app secret before letting the player in, with no call to Hibira.
Step 3: free places as players leave
In capacity mode, send a heartbeat while the player is online and a leave when they log out, so the next person in line gets in at once:
POST /waitroom/APP_KEY/game-login/heartbeat {"pass": "…"}
POST /waitroom/APP_KEY/game-login/leave {"pass": "…"}Step 4: when maintenance runs long
Move the end time. Everyone in line sees the new time right away:
POST /apps/APP_ID/waiting_rooms/game-login
{ "maintenance_until": "2026-12-10T07:30:00Z" }Tips
- Keep the pass lifetime shorter than your usual maintenance, so passes from before the window don't walk straight back in.
- Post a notice during the window, such as "Patch 2.4 is installing, about 30 minutes left". Everyone in line sees it at once.
- Start with a 15 to 30 minute warm-up and watch your error rates on the first reopen. Next time you'll know how fast your servers can take people back.
- Leave the room on after the reopen. In capacity mode nobody waits while you have room, and the line forms again on its own at the next peak.