This commit is contained in:
Andras Schmelczer 2025-07-12 12:59:26 +01:00
parent fc19e650ca
commit 0f441e38d8
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
24 changed files with 553 additions and 68 deletions

View file

@ -124,5 +124,7 @@ impl ClientCursorsWithTimeToLive {
}
}
pub fn is_expired(&self, ttl: Duration) -> bool { self.last_updated.elapsed() > ttl }
pub fn is_expired(&self, ttl: Duration) -> bool {
self.last_updated.elapsed() > ttl
}
}