We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6b08a2 commit 65c15f3Copy full SHA for 65c15f3
src/libtmux/test/constants.py
@@ -4,6 +4,15 @@
4
5
import os
6
7
+#: Prefix used for test session names to identify and cleanup test sessions
8
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
13
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)
18
RETRY_INTERVAL_SECONDS = float(os.getenv("RETRY_INTERVAL_SECONDS", 0.05))
0 commit comments