Skip to content

Commit

Permalink
Remove execution client retries
Browse files Browse the repository at this point in the history
  • Loading branch information
cyc60 committed Nov 18, 2024
1 parent 8741068 commit ad56201
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions sw_utils/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,6 @@ def lock_endpoint(self, endpoint_uri: URI | str) -> Iterator:
finally:
self._locker_provider = None

@contextlib.contextmanager
def disable_retries(self) -> Iterator:
cache = self.retry_timeout
self.retry_timeout = 0
try:
yield
finally:
self.retry_timeout = cache

def set_retry_timeout(self, retry_timeout: int) -> None:
self.retry_timeout = retry_timeout

Expand Down

0 comments on commit ad56201

Please sign in to comment.