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 ad40f80 commit a494261
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ably/http/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ def get_rest_hosts(self):
return hosts

# unstore saved fallback host after fallbackRetryTimeout (RSC15f)
if self.__host_expires is not None and time.time() > self.__host_expires:
if 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 a494261

Please sign in to comment.