---
url: https://docs.moqtail.dev/ts/api/client/variables/DEFAULT_SWITCH_DRAIN_TIMEOUT_MS.md
---
# Variable: DEFAULT_SWITCH_DRAIN_TIMEOUT_MS

> `const` **DEFAULT_SWITCH_DRAIN_TIMEOUT_MS**: `2000` = `2000`

Default for [MOQtailClientOptions.switchDrainTimeoutMs](../type-aliases/MOQtailClientOptions.md#switchdraintimeoutms): how long a track a
soft switch handed over from may stay quiet before it is retired anyway.

A soft switch leaves that track delivering up to the group the new one starts at,
so the two meet without a hole, and a PUBLISH_DONE normally ends it. This is the
backstop for a publisher that never sends one.
