Skip to content

Commit 0e72e82

Browse files
committed
max value
1 parent 211f6d7 commit 0e72e82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_advanced_python_wrapper/fastest_response_strategy_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def set_hosts(self, hosts: Tuple[HostInfo, ...]) -> None:
285285

286286

287287
class HostResponseTimeServiceImpl(HostResponseTimeService):
288-
_MAX_VALUE = int("inf")
288+
_MAX_VALUE = 2 ^ 31 - 1
289289
_CACHE_EXPIRATION_NANO: int = 10 * 10 ^ 9
290290
_CACHE_CLEANUP_NANO: int = 1 * 10 ^ 9
291291
_lock: Lock = Lock()

0 commit comments

Comments
 (0)