Fix
All checks were successful
Lint / lint (push) Successful in 13s

This commit is contained in:
Julien Valverdé
2026-01-18 16:10:53 +01:00
parent bbacee7ad4
commit f88daeefd4

View File

@@ -49,13 +49,13 @@ implements QueryClientService {
Effect.andThen(
DateTime.now,
now => SubscriptionRef.update(this.cache, HashMap.filter(entry =>
Duration.greaterThanOrEqualTo(
Duration.lessThan(
DateTime.distanceDuration(entry.lastAccessedAt, now),
Duration.sum(entry.staleTime, this.cacheGcTime),
)
)),
),
Schedule.spaced("1 second"),
Schedule.spaced("30 second"),
)
}