Skip to content

Commit

Permalink
Merge pull request #3580 from MonsieurNicolas/floodtestFix
Browse files Browse the repository at this point in the history
adjust demand period in flood test to avoid dropping txs

Reviewed-by: graydon
  • Loading branch information
latobarita authored Oct 14, 2022
2 parents 7937f81 + 0e9b474 commit ca2fb06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/overlay/test/FloodTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,9 @@ TEST_CASE("Flooding", "[flood][overlay][acceptance]")

auto cfgGen2 = [&](int n) {
auto cfg = getTestConfig(n);
// adjust delayed tx flooding
// adjust delayed tx flooding and how often to pull
cfg.FLOOD_TX_PERIOD_MS = 10;
cfg.FLOOD_DEMAND_PERIOD_MS = std::chrono::milliseconds(10);
return cfg;
};
SECTION("core")
Expand Down

0 comments on commit ca2fb06

Please sign in to comment.