Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
VeskeR committed Jan 9, 2025
1 parent a494261 commit a77e044
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ably/http/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,7 @@ def get_rest_hosts(self):
return hosts

# unstore saved fallback host after fallbackRetryTimeout (RSC15f)
if time.time() > self.__host_expires:
#if self.__host_expires is not None and time.time() > self.__host_expires:
if self.__host_expires is not None and time.time() > self.__host_expires:
self.__host = None
self.__host_expires = None
return hosts
Expand Down

0 comments on commit a77e044

Please sign in to comment.