node: Increase default rate-limiter config
With the increase in traffic on the network after launch, the old defaults don't make sense anymore. Longer term, we should look into throttling outgoing messages as well, prioritizing original messages over relayed messages.
This commit is contained in:
parent
afe13b9e47
commit
abf89438ea
|
|
@ -38,12 +38,12 @@ $ rad config
|
|||
"maxOpenFiles": 4096,
|
||||
"rate": {
|
||||
"inbound": {
|
||||
"fillRate": 0.2,
|
||||
"capacity": 32
|
||||
"fillRate": 2.0,
|
||||
"capacity": 128
|
||||
},
|
||||
"outbound": {
|
||||
"fillRate": 1.0,
|
||||
"capacity": 64
|
||||
"fillRate": 5.0,
|
||||
"capacity": 256
|
||||
}
|
||||
},
|
||||
"connection": {
|
||||
|
|
|
|||
|
|
@ -101,12 +101,12 @@ mod routes {
|
|||
"maxOpenFiles": 4096,
|
||||
"rate": {
|
||||
"inbound": {
|
||||
"fillRate": 0.2,
|
||||
"capacity": 32
|
||||
"fillRate": 2.0,
|
||||
"capacity": 128
|
||||
},
|
||||
"outbound": {
|
||||
"fillRate": 1.0,
|
||||
"capacity": 64
|
||||
"fillRate": 5.0,
|
||||
"capacity": 256
|
||||
}
|
||||
},
|
||||
"connection": {
|
||||
|
|
|
|||
|
|
@ -168,12 +168,12 @@ impl Default for RateLimits {
|
|||
fn default() -> Self {
|
||||
Self {
|
||||
inbound: RateLimit {
|
||||
fill_rate: 0.2,
|
||||
capacity: 32,
|
||||
fill_rate: 2.0,
|
||||
capacity: 128,
|
||||
},
|
||||
outbound: RateLimit {
|
||||
fill_rate: 1.0,
|
||||
capacity: 64,
|
||||
fill_rate: 5.0,
|
||||
capacity: 256,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue