temp hack to reduce network comm
between trinity and neo
This commit is contained in:
parent
d4302e3301
commit
99bd9319fd
@ -5134,7 +5134,12 @@ void SpiderLoop::startLoop ( ) {
|
||||
"is permanently disabled. Restart to fix.");
|
||||
|
||||
// crawlinfo updating
|
||||
if ( !g_loop.registerSleepCallback(1000,
|
||||
// save bandwidth for now make this every 4 seconds not 1 second
|
||||
// then try not to send crawlinfo the host should already have.
|
||||
// each collrec can have a checksum for each host of the last
|
||||
// info we sent it. but we should resend all every 100 secs anyway
|
||||
// in case host when dead
|
||||
if ( !g_loop.registerSleepCallback(4000,
|
||||
this,
|
||||
updateAllCrawlInfosSleepWrapper))
|
||||
log("build: failed to register updatecrawlinfowrapper");
|
||||
|
Loading…
Reference in New Issue
Block a user