diff --git a/src/litestar_flags/cache.py b/src/litestar_flags/cache.py index 351827e..8b0d6e8 100644 --- a/src/litestar_flags/cache.py +++ b/src/litestar_flags/cache.py @@ -153,7 +153,7 @@ def is_expired(self) -> bool: """ if self.expires_at is None: return False - return time.monotonic() > self.expires_at + return time.monotonic() >= self.expires_at class LRUCache: