summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2010-11-06 00:33:42 +0000
committerPaul Buetow <paul@buetow.org>2010-11-06 00:33:42 +0000
commitf561c31faf96ac385e184ac022298ef1450dcc30 (patch)
tree2c51f605524b635ff8659fb045a5f8ca6d0e0e35
parent878bac5bfc35ff935852795fcea69333cd756500 (diff)
sleep to 1
-rwxr-xr-xcpupload.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpupload.pl b/cpupload.pl
index 145c2d6..8fdc711 100755
--- a/cpupload.pl
+++ b/cpupload.pl
@@ -87,7 +87,7 @@ sub display_stats () {
my $line_counter = $GLOBAL_CONF{header} - 1;
# Wait until first results are available
- sleep $GLOBAL_CONF{sleep} until %GLOBAL_STATS;
+ sleep 1 until %GLOBAL_STATS;
my $header_closure = sub {
return if ++$line_counter % $GLOBAL_CONF{header};