Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

server.ServerOptions.maxInFlight

TypeScript
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
server
Declared in
ServerOptions
Package
libtmux
Source
packages/libtmux/src/server.ts
maxInFlight : : number
propertyreadonly [source]
propertyreadonly [source]
maxInFlight

How many tmux invocations this server runs at once. Defaults to 16.

Every invocation is a tmux client process with its own pipes, so a caller that fans out over a whole server turns its own concurrency into process and descriptor pressure. tmux runs commands on one thread: bench-modes.ts measures twelve concurrent creations costing the same twenty-five invocations as twelve sequential ones — twenty-four either way, plus the query that reads the result back — and arriving out of order, so the ceiling bounds the cost without bounding the work. Waiting for a slot spends the request's own deadline, and a request that never gets one fails not_started.

0 declared, 0 inherited

Esc

Type to search.