Page MenuHomePhabricator

[avalanche] Expire queries once they reached their timeout.

Authored by deadalnix on Nov 27 2018, 15:29.



So far, AvalancheProcessor leaks when a peer timesout. This ensures that queries that times out are effectively cleared with each event loop.

Depends on D2140

Test Plan

Added a test case.

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

deadalnix created this revision.Nov 27 2018, 15:29
Herald added a reviewer: Restricted Project. · View Herald TranscriptNov 27 2018, 15:29
Herald added a subscriber: schancel. · View Herald Transcript
Fabien added a subscriber: Fabien.Nov 27 2018, 17:23
Fabien added inline comments.
515 ↗(On Diff #6131)

soltuion => solution

Fabien accepted this revision as: Fabien.Nov 27 2018, 17:24

LGTM with nit

This revision is now accepted and ready to land.Nov 27 2018, 17:24
deadalnix updated this revision to Diff 6153.Nov 28 2018, 15:30

rebase and fix typo

This revision was automatically updated to reflect the committed changes.