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

This commit is contained in:
Julien Valverdé
2026-01-18 17:07:06 +01:00
parent f88daeefd4
commit 1779eebe3b

View File

@@ -45,7 +45,7 @@ implements QueryClientService {
} }
get run(): Effect.Effect<void> { get run(): Effect.Effect<void> {
return Effect.repeat( return this.runSemaphore.withPermits(1)(Effect.repeat(
Effect.andThen( Effect.andThen(
DateTime.now, DateTime.now,
now => SubscriptionRef.update(this.cache, HashMap.filter(entry => now => SubscriptionRef.update(this.cache, HashMap.filter(entry =>
@@ -56,7 +56,7 @@ implements QueryClientService {
)), )),
), ),
Schedule.spaced("30 second"), Schedule.spaced("30 second"),
) ))
} }
getCacheEntry(key: QueryClientCacheKey): Effect.Effect<Option.Option<QueryClientCacheEntry>> { getCacheEntry(key: QueryClientCacheKey): Effect.Effect<Option.Option<QueryClientCacheEntry>> {