Skip to content

Commit edad693

Browse files
committed
Cast --inactive-conn-cleanup-timeout to float
1 parent 8d81b14 commit edad693

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

proxy/core/work/threadless.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ def __init__(
102102
SelectableEvents,
103103
] = {}
104104
self.wait_timeout: float = DEFAULT_WAIT_FOR_TASKS_TIMEOUT
105-
self.cleanup_inactive_timeout: float = self.flags.inactive_conn_cleanup_timeout
105+
self.cleanup_inactive_timeout: float = float(
106+
self.flags.inactive_conn_cleanup_timeout
107+
)
106108
self._total: int = 0
107109
# When put at the top, causes circular import error
108110
# since integrated ssh tunnel was introduced.

0 commit comments

Comments
 (0)