Skip to content

Commit 65c15f3

Browse files
committed
test(constants) Documentation for variables
1 parent f6b08a2 commit 65c15f3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/libtmux/test/constants.py

+9
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44

55
import os
66

7+
#: Prefix used for test session names to identify and cleanup test sessions
78
TEST_SESSION_PREFIX = "libtmux_"
9+
10+
#: Number of seconds to wait before timing out when retrying operations
11+
#: Can be configured via :envvar:`RETRY_TIMEOUT_SECONDS` environment variable
12+
#: Defaults to 8 seconds
813
RETRY_TIMEOUT_SECONDS = int(os.getenv("RETRY_TIMEOUT_SECONDS", 8))
14+
15+
#: Interval in seconds between retry attempts
16+
#: Can be configured via :envvar:`RETRY_INTERVAL_SECONDS` environment variable
17+
#: Defaults to 0.05 seconds (50ms)
918
RETRY_INTERVAL_SECONDS = float(os.getenv("RETRY_INTERVAL_SECONDS", 0.05))

0 commit comments

Comments
 (0)