We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d31451 commit 48fe492Copy full SHA for 48fe492
1 file changed
libsql-replication/src/replicator.rs
@@ -195,6 +195,11 @@ where
195
self.state = ReplicatorState::NeedHandshake;
196
}
197
198
+ /// configure number of handshake retries.
199
+ pub fn set_primary_handshake_retries(&mut self, retries: usize) {
200
+ self.max_handshake_retries = retries;
201
+ }
202
+
203
pub fn client_mut(&mut self) -> &mut C {
204
&mut self.client
205
0 commit comments