adjust constant to spec values and names

This commit is contained in:
Diva M
2023-03-06 17:32:40 -05:00
parent 39d4f0a1f3
commit bf40acd9df
4 changed files with 12 additions and 8 deletions

View File

@@ -80,7 +80,7 @@ impl OutboundRateLimiterConfig {
Quota::n_every(methods::MAX_REQUEST_BLOCKS, 10);
pub const DEFAULT_BLOCKS_BY_ROOT_QUOTA: Quota = Quota::n_every(128, 10);
pub const DEFAULT_BLOBS_BY_RANGE_QUOTA: Quota =
Quota::n_every(methods::MAX_REQUEST_BLOBS_SIDECARS, 10);
Quota::n_every(methods::MAX_REQUEST_BLOB_SIDECARS, 10);
pub const DEFAULT_BLOBS_BY_ROOT_QUOTA: Quota = Quota::n_every(128, 10);
}