projects
/
zc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f180d1
)
set default interval to 30 min
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 17 Feb 2021 12:28:51 +0000
(13:28 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 17 Feb 2021 12:28:51 +0000
(13:28 +0100)
zc-send
patch
|
blob
|
history
diff --git
a/zc-send
b/zc-send
index
93dfe81
..
3e188ca
100755
(executable)
--- a/
zc-send
+++ b/
zc-send
@@
-41,7
+41,7
@@
my $raw;
if ( $ARGV[0] =~ m/interval/ ) {
# heartbeat interval
- my $interval = $ARGV[1] || 300;
+ my $interval = $ARGV[1] || 30
* 6
0;
print "set heartbeat interval to $interval s\n";
$raw = write_parameter_frame( "\x21" => "\x04" . pack('l',$interval) );
} elsif ( $ARGV[0] =~ m/zero/ ) {