Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemanspiff2007 committed Dec 6, 2024
1 parent 699435c commit ba0d5d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/HABApp/util/rate_limiter/limits/leaky_bucket.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from dataclasses import dataclass
from time import monotonic
from typing import Final

Expand All @@ -6,6 +7,7 @@
from .base import BaseRateLimit, BaseRateLimitInfo


@dataclass
class LeakyBucketLimitInfo(BaseRateLimitInfo):
time_remaining: float #: Time remaining until the next drop

Expand Down

0 comments on commit ba0d5d8

Please sign in to comment.