Skip to content

Commit

Permalink
Merge pull request #256 from zkao/rm_syncer_services
Browse files Browse the repository at this point in the history
farcasterd: rm syncer from syncer_services
  • Loading branch information
zkao authored Nov 29, 2021
2 parents caf00c5 + f2b374b commit 6c00d19
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/farcasterd/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,13 @@ impl Runtime {
}
})
.collect();
let clients = &self.syncer_clients;
self.syncer_services = self
.syncer_services
.drain()
.filter(|(k, _)| clients.contains_key(k))
.collect();

Ok(())
}

Expand Down

0 comments on commit 6c00d19

Please sign in to comment.