Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
pre-commit-ci[bot] authored and rohanpm committed Dec 13, 2022
1 parent bd05ba1 commit 6048bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion more_executors/_impl/retry.py
Original file line number Diff line number Diff line change
@@ -89,7 +89,7 @@ def should_retry(self, attempt, future):
return False

def sleep_time(self, attempt, future):
return min(self._sleep * (self._exponent**(attempt-1)), self._max_sleep)
return min(self._sleep * (self._exponent ** (attempt - 1)), self._max_sleep)


class RetryJob(object):

0 comments on commit 6048bbf

Please sign in to comment.