0.2.3 #33

Merged
Thilawyn merged 12 commits from next into master 2026-01-23 01:50:12 +01:00
Showing only changes of commit f88daeefd4 - Show all commits

View File

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