diff --git a/lib/core/src/sync/client.rs b/lib/core/src/sync/client.rs
index 3ab203cf5..698b0908b 100644
--- a/lib/core/src/sync/client.rs
+++ b/lib/core/src/sync/client.rs
@@ -1,8 +1,16 @@
-use anyhow::{anyhow, Result};
+use std::time::Duration;
+
+use anyhow::{anyhow, Error, Result};
use async_trait::async_trait;
use log::debug;
use tokio::sync::Mutex;
+use tonic::{
+ metadata::{errors::InvalidMetadataValue, Ascii, MetadataValue},
+ service::{interceptor::InterceptedService, Interceptor},
+ transport::{Channel, ClientTlsConfig, Endpoint},
+ Request, Status,
+};
use super::model::sync::{
syncer_client::SyncerClient as ProtoSyncerClient, ListChangesReply, ListChangesRequest,
@@ -18,58 +26,97 @@ pub(crate) trait SyncerClient: Send + Sync {
}
pub(crate) struct BreezSyncerClient {
- inner: Mutex