Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
al8n committed Apr 15, 2024
1 parent f010975 commit 7feaf2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Here are the layers:

- **`Delegate`**

Delegate is the trait that clients must implement if they want to hook into the gossip layer of Memberlist. All the methods must be thread-safe, as they can and generally will be called concurrently.
Delegate is the trait that clients must implement if they want to hook into the gossip layer of Serf. All the methods must be thread-safe, as they can and generally will be called concurrently.

Here are the sub delegate traits:

Expand Down
4 changes: 2 additions & 2 deletions core/src/serf/base/tests/serf/reconnect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ pub async fn serf_reconnect_same_ip<T, R, F>(
serfs[1].shutdown().await.unwrap();

let t = serfs[1].inner.opts.memberlist_options.probe_interval();
let _ = serfs.pop().unwrap();
<T::Runtime as RuntimeLite>::sleep(t * 5).await;
drop(serfs.pop().unwrap());
<T::Runtime as RuntimeLite>::sleep(t * 10).await;

// Bring back s2
let s2 = Serf::<T>::new(
Expand Down

0 comments on commit 7feaf2e

Please sign in to comment.