mirror of
https://github.com/neondatabase/neon.git
synced 2026-10-18 17:52:53 +00:00
Update libs/utils/src/leaky_bucket.rs
Co-authored-by: Joonas Koivunen <joonas@neon.tech>
This commit is contained in:
co-authored by
Joonas Koivunen
parent
c766021d5f
commit
2dd85f5a84
@@ -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