Also drop implicit config from JournalClient.
It might fix T1513, but not sure.
Differential D1501
Factorize StorageReplayer and JournalClient. vlorentz on May 22 2019, 2:26 PM. Authored by
Details
Diff Detail
Event TimelineComment Actions Build is green Comment Actions Finish handling polled message after max_message is reached, Comment Actions Build is green Comment Actions I am not very happy with the API of the JournalClient (it's not the result of this diff, but since we are discussing refactorings in there...) I don't like to be obliged to use inheritance to, in fact, only define a callback. Why not pass this as a callable argument to JournalClient.process()? Doing so, the StorageReplayer class is not needed anymore and insert_objects becomes a simple function (and JournalClient must not be abstract any more either).
Comment Actions Build is green |