# io.github.libtmux.ServerConfig.maxConcurrentCommands

- **Module:** io.github.libtmux
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/f56392b5d9bc7f1f9c1631842333fb90f3d82d40/libtmux/src/main/java/io/github/libtmux/ServerConfig.java#L146
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-serverconfig-serverconfig-maxconcurrentcommands/

```
io.github.libtmux.ServerConfig.maxConcurrentCommands() -> int
```

How many tmux commands {@link Server#open} lets run at once; more wait their turn.

A coroutine dispatcher or effect pool that runs blocking calls for this server gains nothing
from more threads than this: the rest would only wait for admission.
