fix a bug where after an hour community follows would be overwritten completely by an incremental upgrade
This commit is contained in:
parent
4f1240487e
commit
dca43dcfd9
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ impl InstanceWorker {
|
|||
if (Utc::now() - self.last_full_communities_fetch) > *FOLLOW_REMOVALS_RECHECK_DELAY {
|
||||
// process removals every hour
|
||||
(self.followed_communities, self.last_full_communities_fetch) = self
|
||||
.get_communities(pool, self.instance.id, self.last_full_communities_fetch)
|
||||
.get_communities(pool, self.instance.id, Utc.timestamp_nanos(0))
|
||||
.await?;
|
||||
self.last_incremental_communities_fetch = self.last_full_communities_fetch;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue