X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProt.pm;h=e33a310f2268f394e07271b1745f9f365381b094;hb=04df6cab5929c30a48a2865acda598e3ca541f1d;hp=aaa070480ac3808b65f8dab29ce342b42ae06f06;hpb=4fd5f55c3716bfef803aec68a4a632e220e54862;p=spider.git diff --git a/perl/DXProt.pm b/perl/DXProt.pm index aaa07048..e33a310f 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -32,7 +32,6 @@ use DXHash; use Route; use Route::Node; use Script; -use Investigate; use RouteDB; use DXProtHandle; @@ -79,8 +78,8 @@ $chatdupeage = 20 * 60 * 60; $chatimportfn = "$main::root/chat_import"; $investigation_int = 12*60*60; # time between checks to see if we can see this node $pc19_version = 5466; # the visible version no for outgoing PC19s generated from pc59 -$pc92_update_period = 60*60; # the period between PC92 C updates -$last_pc92_update = time; # the last time a PC92 config update +$pc92_update_period = 30*60; # the period between PC92 C updates +$last_pc92_update = time + int rand(180); # the last time a PC92 config update @checklist = @@ -435,7 +434,7 @@ sub process if ($main::systime >= $last_pc92_update + $pc92_update_period) { send_pc92_update(); - $last_pc92_update = $main::systime; + $last_pc92_update = $main::systime + int rand(180); } $last10 = $t;