- All Implemented Interfaces:
- Job
class HarvesterJob
extends JobImpl
Simple job to try to keep our peer references up to date by aggressively
requerying them every few minutes. This isn't useful for normal operation,
but instead helps with gathering operational data on the network - while old
RouterInfo refs are sufficient for functionality, newer ones let us harvest
the published peer statistics much more frequently. By default this job
is disabled (it runs but doesn't do anything), but if the router config
option 'netDb.shouldHarvest' is set to 'true', then every minute it'll ask
the 5 oldest peers to send their latest info (unless the info is less than
30 minutes old).