write_recap: Only update variables that could have changed
This is a step toward improving readability of `%config`/`%recap` synchronization.
This commit is contained in:
parent
7660ca52bf
commit
1a748e7a86
1 changed files with 1 additions and 2 deletions
|
@ -1575,8 +1575,7 @@ sub write_recap {
|
|||
$recap{$h}{$v} = opt($v, $h);
|
||||
}
|
||||
} else {
|
||||
for my $v (qw(atime mtime wtime ipv4 ipv6 status-ipv4 status-ipv6
|
||||
warned-min-interval warned-min-error-interval)) {
|
||||
for my $v (qw(warned-min-interval warned-min-error-interval)) {
|
||||
if ($vars->{$v} && $vars->{$v}{recap} && defined(my $val = opt($v, $h))) {
|
||||
$recap{$h}{$v} = $val;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue