Update old_version after timeout

On a low update rate master, if we don't update old_version after
processing a poll timeout, we will generate spurious warnings about
missed (change) signals every time the timer expires, and will
needlessly contact the slaves.
This commit is contained in:
Viktor Dukhovni
2016-08-09 21:02:44 -04:00
parent fc4e52174c
commit b39a4f7c78

View File

@@ -1298,6 +1298,7 @@ main(int argc, char **argv)
send_diffs (server_context, p, log_fd, database,
current_version, current_tstamp);
}
old_version = current_version;
}
}