Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 65c15f3

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

File tree

Expand file treeCollapse file tree

1 file changed

+9
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-0
lines changed

‎src/libtmux/test/constants.py

Copy file name to clipboardExpand all lines: src/libtmux/test/constants.py
+9Lines changed: 9 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.