Page MenuHomeSoftware Heritage

cli: fix max-message handling in the journal-client command
ClosedPublic

Authored by douardda on Nov 5 2019, 12:23 PM.

Details

Summary

the max_messages value must be passed to the client constructor, otherwise
it will hang forever for max-messages<20 (eg. in tests).

Diff Detail

Event Timeline

vlorentz added a subscriber: vlorentz.

No, the right fix is D2205

This revision now requires changes to proceed.Nov 5 2019, 12:25 PM
This revision is now accepted and ready to land.Nov 5 2019, 2:56 PM

reformat for style consistency in the function