mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-10-18 16:40:23 +00:00
Add --max-load. Reset instead of recreating Progress objects.
This commit is contained in:
@@ -114,6 +114,7 @@ sub set_callback {
|
||||
sub start {
|
||||
my ( $self, $start ) = @_;
|
||||
$self->{start} = $self->{last_reported} = $start || time();
|
||||
$self->{first_report} = 0;
|
||||
}
|
||||
|
||||
# Provide a progress update. Pass in a callback subroutine which this code can
|
||||
|
Reference in New Issue
Block a user