mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-24 00:20:37 +00:00
Update libs/utils/src/leaky_bucket.rs
Co-authored-by: Joonas Koivunen <joonas@neon.tech>
This commit is contained in:
@@ -13,7 +13,7 @@ pub struct LeakyBucketConfig {
|
||||
pub drain_interval: Duration,
|
||||
|
||||
/// "time cost" of a single request unit.
|
||||
/// should loosely represents how long it takes to handle a request unit in active resource time.
|
||||
/// should loosely represent how long it takes to handle a request unit in active resource time.
|
||||
pub cost: Duration,
|
||||
|
||||
/// total size of the bucket
|
||||
|
||||
Reference in New Issue
Block a user