File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
jit-binding-server/src/main/kotlin/io/github/typesafegithub/workflows/jitbindingserver Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package io.github.typesafegithub.workflows.jitbindingserver
22
33import com.github.benmanes.caffeine.cache.Caffeine
44import com.sksamuel.aedile.core.asLoadingCache
5- import com.sksamuel.aedile.core.expireAfterWrite
5+ import com.sksamuel.aedile.core.refreshAfterWrite
66import io.github.oshai.kotlinlogging.KotlinLogging.logger
77import io.github.typesafegithub.workflows.actionbindinggenerator.domain.ActionCoords
88import io.github.typesafegithub.workflows.actionbindinggenerator.domain.prettyPrint
@@ -33,7 +33,7 @@ typealias ArtifactResult = Result<Map<String, Artifact>>
3333private val bindingsCache =
3434 Caffeine
3535 .newBuilder()
36- .expireAfterWrite (1 .hours)
36+ .refreshAfterWrite (1 .hours)
3737 .recordStats()
3838 .asLoadingCache<ActionCoords , ArtifactResult > { runCatching { it.buildVersionArtifacts()!! } }
3939
You can’t perform that action at this time.
0 commit comments