mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
udp: remove unused config var max_requests_per_iter
This commit is contained in:
parent
7afaa2702a
commit
5ef0935c97
4 changed files with 2 additions and 12 deletions
|
|
@ -72,9 +72,6 @@ pub struct ProtocolConfig {
|
|||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
#[serde(default)]
|
||||
pub struct HandlerConfig {
|
||||
/// Maximum number of requests to receive from channel before locking
|
||||
/// mutex and starting work
|
||||
pub max_requests_per_iter: usize,
|
||||
pub channel_recv_timeout_ms: u64,
|
||||
}
|
||||
|
||||
|
|
@ -142,7 +139,6 @@ impl Default for ProtocolConfig {
|
|||
impl Default for HandlerConfig {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
max_requests_per_iter: 10000,
|
||||
channel_recv_timeout_ms: 100,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue