const RETAIN_CIRCUIT_AFTER_LAST_USE: Duration;Expand description
C Tor MaxCircuitDirtiness
As per https://gitlab.torproject.org/tpo/core/arti/-/issues/913#note_2914433
And C Tor’s tor(1), which says:
MaxCircuitDirtiness NUM
Feel free to reuse a circuit that was first used at most NUM seconds ago, but never attach a new stream to a circuit that is too old. For hidden services, this applies to the last time a circuit was used, not the first. Circuits with streams constructed with SOCKS authentication via SocksPorts that have KeepAliveIsolateSOCKSAuth also remain alive for MaxCircuitDirtiness seconds after carrying the last such stream. (Default: 10 minutes)
However, we’re not entirely sure this is the right behaviour. See https://gitlab.torproject.org/tpo/core/arti/-/issues/916