Skip to content

Commit cd35d73

Browse files
committed
Remove redundant future retry [RHELDST-9679]
Originally, the fast purge client would retry failed futures. Now with the HTTP retries it doesn't make sense to have both. The interaction between the two causes failing purges to run much longer than the desired 5 minutes. This change removes the Future retry in favour of the urllib3 retry.
1 parent 19a45cc commit cd35d73

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fastpurge/_client.py

-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ def __executor(self):
173173
sync(name="fastpurge").\
174174
with_poll(self.__poll_purges).\
175175
with_throttle(count=self.MAX_REQUESTS).\
176-
with_retry().\
177176
with_cancel_on_shutdown()
178177
return self.___executor
179178

0 commit comments

Comments
 (0)