summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-06-08 08:47:19 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-06-08 08:47:19 +0000
commitea89b270f9b4a7e0550573c0987e92b57ff2c624 (patch)
tree79ac01f917e9ce9b4b00cd340ebf04309cffea4b
parent4561693cb39d708ee1e46d1ef96e2ff5a3b3d1fa (diff)
downloadurpmi-ea89b270f9b4a7e0550573c0987e92b57ff2c624.tar
urpmi-ea89b270f9b4a7e0550573c0987e92b57ff2c624.tar.gz
urpmi-ea89b270f9b4a7e0550573c0987e92b57ff2c624.tar.bz2
urpmi-ea89b270f9b4a7e0550573c0987e92b57ff2c624.tar.xz
urpmi-ea89b270f9b4a7e0550573c0987e92b57ff2c624.zip
Adjust fudge factor
-rw-r--r--urpm/parallel_ssh.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/parallel_ssh.pm b/urpm/parallel_ssh.pm
index f5550bf1..ab7edd60 100644
--- a/urpm/parallel_ssh.pm
+++ b/urpm/parallel_ssh.pm
@@ -250,10 +250,10 @@ sub parallel_install {
$log .= $_;
/\n/ and $log = '';
if (my ($msg, $progress) = $log =~ /^\s*(\S+)\s+(#+)/) {
- if ($urpm->{ui} && (gettimeofday() - $last_time > 0.15 || length($progress) == 50)) {
+ if ($urpm->{ui} && (gettimeofday() - $last_time > 0.15 || length($progress) == 45)) {
$urpm->{ui_msg}->($msg =~ /\d+:(\S+)/ ? urpm::N("Installing %s on %s...", $1, $node)
: urpm::N("Preparing install on %s...", $node));
- $urpm->{ui}{progress}->(length($progress)/50) if ref $urpm->{ui}{progress};
+ $urpm->{ui}{progress}->(length($progress)/45) if ref $urpm->{ui}{progress};
$last_time = gettimeofday();
}
}