code-server/src/node
Tianyi Cui ada3489acf
feat: expose --reconnection-grace-time CLI flag (#7678)
* feat: expose --reconnection-grace-time CLI flag

Pass through VS Code Server's --reconnection-grace-time argument,
allowing users to configure how long the server waits for a
disconnected client to reconnect before cleaning up the session.

This is useful for users whose client machines sleep overnight, causing
the default 3-hour grace period to expire and forcing a "Reload Window"
on wake. The flag can also be set via CODE_SERVER_RECONNECTION_GRACE_TIME
env var or in config.yaml.
2026-03-25 11:47:58 -08:00
..
i18n fix: remove config file path from login page (#7709) 2026-03-18 14:00:54 -08:00
routes fix: remove config file path from login page (#7709) 2026-03-18 14:00:54 -08:00
app.ts
cli.ts feat: expose --reconnection-grace-time CLI flag (#7678) 2026-03-25 11:47:58 -08:00
constants.ts
entry.ts
heart.ts Add idle timeout (#7539) 2025-10-28 16:10:56 -08:00
http.ts feat: add wildcard support to trusted-origins (#7697) 2026-03-25 11:04:06 -08:00
main.ts Add idle timeout (#7539) 2025-10-28 16:10:56 -08:00
proxy.ts
settings.ts Remove import from express-serve-static-core 2025-08-04 12:26:46 -08:00
socket.ts
update.ts
util.ts
vscodeSocket.ts Use error handler in session server (#7455) 2025-08-04 11:05:48 -08:00
wrapper.ts
wsRouter.ts