Skip to content

Commit cb6ed08

Browse files
committed
feat: increased allowed timeout range
1 parent eb6a441 commit cb6ed08

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

butter/mas/clients/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ def timeout(self, timeout):
3838
timeout (integer): command execution timeout in milliseconds
3939
4040
Raises:
41-
ValueError: if timeout is not in the range [20, 500]
41+
ValueError: if timeout is not in the range [20, 2000]
4242
"""
43-
if (timeout < 20 or timeout > 500):
44-
raise ValueError("Timeout most be an integer number in the range [20, 500]")
43+
if (timeout < 20 or timeout > 2000):
44+
raise ValueError("Timeout most be an integer number in the range [20, 2000]")
4545

4646
self._timeout = timeout
4747

0 commit comments

Comments
 (0)