projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7e4d163
)
reduce pc92C update time to 30 minute + rand(180)
author
minima
<minima>
Mon, 8 Jan 2007 00:36:25 +0000
(
00:36
+0000)
committer
minima
<minima>
Mon, 8 Jan 2007 00:36:25 +0000
(
00:36
+0000)
perl/DXProt.pm
patch
|
blob
|
history
diff --git
a/perl/DXProt.pm
b/perl/DXProt.pm
index 080b421a2418842cef72e56887841f3ea2525812..e33a310f2268f394e07271b1745f9f365381b094 100644
(file)
--- 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
$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 =
6
0*60; # the period between PC92 C updates
-$last_pc92_update = time; # the last time a PC92 config update
+$pc92_update_period =
3
0*60; # the period between PC92 C updates
+$last_pc92_update = time
+ int rand(180)
; # the last time a PC92 config update
@checklist =
@checklist =
@@
-434,7
+434,7
@@
sub process
if ($main::systime >= $last_pc92_update + $pc92_update_period) {
send_pc92_update();
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;
}
$last10 = $t;