Skip to content

Commit 22fe248

Browse files
committed
refactor: rename timeout string builder method argument to timeout_ms
To make timeout units explicit.
1 parent b7267a1 commit 22fe248

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/smartinspect/connections/builders/tcp_protocol_connection_string_builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ def set_port(self, port: int) -> Self:
2020
self._parent.cb.add_option("port", port)
2121
return self
2222

23-
def set_timeout(self, timeout: int) -> Self:
24-
self._parent.cb.add_option("timeout", timeout)
23+
def set_timeout(self, timeout_ms: int) -> Self:
24+
self._parent.cb.add_option("timeout", timeout_ms)
2525
return self

0 commit comments

Comments
 (0)