Skip to content

Commit

Permalink
Cast --inactive-conn-cleanup-timeout to float
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinavsingh committed Nov 14, 2024
1 parent 8d81b14 commit edad693
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion proxy/core/work/threadless.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ def __init__(
SelectableEvents,
] = {}
self.wait_timeout: float = DEFAULT_WAIT_FOR_TASKS_TIMEOUT
self.cleanup_inactive_timeout: float = self.flags.inactive_conn_cleanup_timeout
self.cleanup_inactive_timeout: float = float(
self.flags.inactive_conn_cleanup_timeout
)
self._total: int = 0
# When put at the top, causes circular import error
# since integrated ssh tunnel was introduced.
Expand Down

0 comments on commit edad693

Please sign in to comment.