quota: asking_at is crate-visible for the meter's tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
a98594ed39
commit
c298d9d07d
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ impl QuotaCell {
|
|||
self.asking_at(unix_ms())
|
||||
}
|
||||
|
||||
fn asking_at(self: &Arc<Self>, now: u64) -> Asking {
|
||||
pub(crate) fn asking_at(self: &Arc<Self>, now: u64) -> Asking {
|
||||
{
|
||||
let mut asks = self.asks.lock().unwrap_or_else(|e| e.into_inner());
|
||||
asks.live += 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue