mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +00:00
aquatic: HandlerConfig: add comment
This commit is contained in:
parent
ad7a8c46a9
commit
cbae43e175
1 changed files with 2 additions and 0 deletions
|
|
@ -33,6 +33,8 @@ pub struct NetworkConfig {
|
||||||
|
|
||||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||||
pub struct HandlerConfig {
|
pub struct HandlerConfig {
|
||||||
|
/// Maximum number of requests to receive from channel before locking
|
||||||
|
/// mutex and starting work
|
||||||
pub max_requests_per_iter: usize,
|
pub max_requests_per_iter: usize,
|
||||||
pub channel_recv_timeout_ms: u64,
|
pub channel_recv_timeout_ms: u64,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue