Restart the server process, reusing the existing config directory.
Stops the subprocess, then starts a new one. Any env overrides staged
via update_env() are applied within a _scoped_env_overrides context
manager so that failures automatically roll back the environment to the
last known-good state.
restart(
self,
*,
timeout: float = _HEALTH_TIMEOUT,
) -> None| Name | Type | Description |
|---|---|---|
timeout | float | Default: _HEALTH_TIMEOUTMax seconds to wait for the server to become healthy. |