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
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 10853
Build 16312: tox-on-jenkinsJenkins
Build 16311: arc lint + arc unit

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.