node: Further increase the rate-limit defaults
The rate-limitter gets hit on connect, due to historical gossip messages being exchanged. This results in a high initial burst that needs to be accounted for.
This commit is contained in:
parent
5ffbf7545f
commit
a54180199e
|
|
@ -38,12 +38,12 @@ $ rad config
|
|||
"maxOpenFiles": 4096,
|
||||
"rate": {
|
||||
"inbound": {
|
||||
"fillRate": 2.0,
|
||||
"capacity": 128
|
||||
"fillRate": 5.0,
|
||||
"capacity": 1024
|
||||
},
|
||||
"outbound": {
|
||||
"fillRate": 5.0,
|
||||
"capacity": 256
|
||||
"fillRate": 10.0,
|
||||
"capacity": 2048
|
||||
}
|
||||
},
|
||||
"connection": {
|
||||
|
|
|
|||
|
|
@ -101,12 +101,12 @@ mod routes {
|
|||
"maxOpenFiles": 4096,
|
||||
"rate": {
|
||||
"inbound": {
|
||||
"fillRate": 2.0,
|
||||
"capacity": 128
|
||||
"fillRate": 5.0,
|
||||
"capacity": 1024
|
||||
},
|
||||
"outbound": {
|
||||
"fillRate": 5.0,
|
||||
"capacity": 256
|
||||
"fillRate": 10.0,
|
||||
"capacity": 2048
|
||||
}
|
||||
},
|
||||
"connection": {
|
||||
|
|
|
|||
|
|
@ -168,12 +168,12 @@ impl Default for RateLimits {
|
|||
fn default() -> Self {
|
||||
Self {
|
||||
inbound: RateLimit {
|
||||
fill_rate: 2.0,
|
||||
capacity: 128,
|
||||
fill_rate: 5.0,
|
||||
capacity: 1024,
|
||||
},
|
||||
outbound: RateLimit {
|
||||
fill_rate: 5.0,
|
||||
capacity: 256,
|
||||
fill_rate: 10.0,
|
||||
capacity: 2048,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue