This commit is contained in:
Boog900 2024-05-07 01:18:29 +01:00
parent 1570844b0b
commit 37e7c29c48
No known key found for this signature in database
GPG key ID: 42AB1287CB0041C2
2 changed files with 3 additions and 4 deletions

View file

@ -85,9 +85,8 @@ impl<N: NetworkZone> ClientPool<N> {
}
}
/// Adds a _new_ [`Client`] to the pool, this client should be a new connection,
///
/// See [`ClientPool::add_client`] to add a [`Client`] which was removed from the pool.
/// Adds a _new_ [`Client`] to the pool, this client should be a new connection, and not already
/// from the pool.
pub fn add_new_client(&self, client: Client<N>) {
self.new_connection_tx
.send((client.info.handle.clone(), client.info.id))

View file

@ -7,7 +7,7 @@
//!
#![allow(dead_code)]
mod client_pool;
pub mod client_pool;
pub mod config;
pub mod connection_maintainer;
mod constants;