# test.CLEANUP_POLL_INTERVAL

- **Module:** test
- **Package:** libtmux
- **Language:** Rust
- **Kind:** constant
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/test.rs#L158
- **Page:** https://libtmux.org/reference/rs/test-cleanup_poll_interval/

How long a blocking wait sleeps before looking again.

Sleeping rather than yielding, for the reason [design.md] gives about the
async poll loops and which applies with more force here: this runs inside
`spawn_blocking` while waiting for a *process* to exit, so a spin holds a
core the daemon needs to handle the signal it was just sent. On a machine
with fewer cores than the suite has concurrent fixtures, that is the
difference between a clean shutdown and a grace window that expires.

[design.md]: ../docs/design.md
