diff --git a/radicle-cli/examples/rad-config.md b/radicle-cli/examples/rad-config.md index 1697d22e..dda65e1c 100644 --- a/radicle-cli/examples/rad-config.md +++ b/radicle-cli/examples/rad-config.md @@ -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": { diff --git a/radicle-httpd/src/api/v1/profile.rs b/radicle-httpd/src/api/v1/profile.rs index 827c2b54..5916f902 100644 --- a/radicle-httpd/src/api/v1/profile.rs +++ b/radicle-httpd/src/api/v1/profile.rs @@ -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": { diff --git a/radicle/src/node/config.rs b/radicle/src/node/config.rs index fba4d058..40b826ab 100644 --- a/radicle/src/node/config.rs +++ b/radicle/src/node/config.rs @@ -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, }, } }