]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
replicator: Don't update user's last_update if priority doesn't change
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Tue, 25 Oct 2022 10:11:37 +0000 (13:11 +0300)
committerMartti Rannanjärvi <martti.rannanjarvi@open-xchange.com>
Wed, 2 Nov 2022 13:52:16 +0000 (15:52 +0200)
commit97bf10e1da7966f46ff1ce5e7fc878bb5983e8ee
tree7d0cd1b4e119e04611ccbf0f6e60f6978f620b25
parent5c9f2524710dd3691bb5496855b99457c35e2699
replicator: Don't update user's last_update if priority doesn't change

This didn't actually matter, since it was only used to check if importing
should update an existing user. However, importing is only run at startup
when all users have last_update=0 anyway.

The following changes bring new use cases for last_update.
src/replication/replicator/replicator-queue.c
src/replication/replicator/replicator-queue.h