Page MenuHomePhabricator

[seeder] Get rid of pointless `wait` variable and params
ClosedPublic

Authored by PiRK on Oct 14 2024, 14:58.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC06b9d443c921: [seeder] Get rid of pointless `wait` variable and params
Summary
Test Plan

ninja & src/seeder/bitcoin-seeder

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.Oct 14 2024, 14:58
Fabien added a subscriber: Fabien.

There clearly was an attempt to make the thread sleep longer if there is no processing to do, but the implementation failed. In any case > 5s of delay should be enough to not create any meaningful load on the CPU even with hundreds of crawlers.

This revision is now accepted and ready to land.Oct 14 2024, 19:32