Skip to content

Commit

Permalink
removed unneeded Sync (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
jokil123 authored Feb 6, 2023
1 parent 3bbff73 commit 6f3ed67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/db/listen_changes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ where
pub async fn start<FN, F>(&mut self, cb: FN) -> FirestoreResult<()>
where
FN: Fn(FirestoreListenEvent) -> F + Send + Sync + 'static,
F: Future<Output = BoxedErrResult<()>> + Send + Sync + 'static,
F: Future<Output = BoxedErrResult<()>> + Send + 'static,
{
info!(
"Starting a Firestore listener for targets: {:?}...",
Expand Down Expand Up @@ -297,7 +297,7 @@ where
) where
D: FirestoreListenSupport + Clone + Send + Sync,
FN: Fn(FirestoreListenEvent) -> F + Send + Sync,
F: Future<Output = BoxedErrResult<()>> + Send + Sync,
F: Future<Output = BoxedErrResult<()>> + Send,
{
while !shutdown_flag.load(Ordering::Relaxed) {
debug!("Start listening on targets {:?}... ", targets_state.len());
Expand Down

0 comments on commit 6f3ed67

Please sign in to comment.