Skip to content

ObsidianAndroidAppiumTransportOptions.leftoverMaxAgeInMilliseconds?

ObsidianAndroidAppiumTransportOptions › leftoverMaxAgeInMilliseconds?

Type: number

How old a leftover **host** directory must be before shouldSweepLeftovers removes it.

Governs the host-side sweep only (the temp-vault-* staging directories this run's machine accumulates in its temp dir). The **device** sweep is unconditional: Android runs hold the exclusive android setup lock, so no concurrent run can own a device vault, and an age gate there would let a vault leaked minutes ago survive into the next run — which is the failure loop the sweep exists to break. Set 0 to remove every host match too.