Page MenuHomeSoftware Heritage

replay: drop the hand-rolled retry contextmanager
ClosedPublic

Authored by olasd on Mar 2 2020, 7:19 PM.

Details

Summary

It makes the consumer crash with generator didn't stop after throw()
exceptions. We'll reintroduce retry behavior at a later stage.

Test Plan

tox output is unchanged

Diff Detail

Repository
rDJNL Journal infrastructure
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

vlorentz added a subscriber: vlorentz.

wait, so that contextmanager didn't work at all?

This revision is now accepted and ready to land.Mar 2 2020, 7:20 PM

wait, so that contextmanager didn't work at all?

No, it did not. contextmanager expects its function to yield only once.