diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-06-08 08:47:19 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-06-08 08:47:19 +0000 |
commit | ea89b270f9b4a7e0550573c0987e92b57ff2c624 (patch) | |
tree | 79ac01f917e9ce9b4b00cd340ebf04309cffea4b /urpm | |
parent | 4561693cb39d708ee1e46d1ef96e2ff5a3b3d1fa (diff) | |
download | urpmi-ea89b270f9b4a7e0550573c0987e92b57ff2c624.tar urpmi-ea89b270f9b4a7e0550573c0987e92b57ff2c624.tar.gz urpmi-ea89b270f9b4a7e0550573c0987e92b57ff2c624.tar.bz2 urpmi-ea89b270f9b4a7e0550573c0987e92b57ff2c624.tar.xz urpmi-ea89b270f9b4a7e0550573c0987e92b57ff2c624.zip |
Adjust fudge factor
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/parallel_ssh.pm | 4 |
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(); } } |