From 04df6cab5929c30a48a2865acda598e3ca541f1d Mon Sep 17 00:00:00 2001 From: minima Date: Mon, 8 Jan 2007 00:36:25 +0000 Subject: [PATCH] reduce pc92C update time to 30 minute + rand(180) --- perl/DXProt.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 080b421a..e33a310f 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -78,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 = @@ -434,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; -- 2.43.0