# libtmux.Server.timeout

- **Module:** libtmux
- **Package:** libtmux
- **Language:** Python
- **Kind:** property
- **Source:** https://github.com/tmux-python/libtmux/blob/efdbb5637666b166358772ecc737b3807beab21e/src/libtmux/server.py#L709
- **Page:** https://libtmux.org/en/py/latest/reference/libtmux-server-timeout/

```
libtmux.Server.timeout(self) -> float | None

libtmux.Server.timeout(self, value: float | None) -> None
```

Default timeout in seconds for commands and listings on this server.

``None`` waits indefinitely. Assigning a new value validates that it is
``None`` or a positive finite ``int`` or ``float``. Individual
:meth:`cmd` calls can override this default, including back to ``None``.

## Parameters

- `value` (`float | None`)

## Examples

```python
>>> srv = Server(timeout=2.5)
>>> srv.timeout
2.5
>>> srv.timeout = None
>>> srv.timeout is None
True
```
