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
2
2
3
3
import com.github.benmanes.caffeine.cache.Caffeine
4
4
import com.sksamuel.aedile.core.asLoadingCache
5
- import com.sksamuel.aedile.core.expireAfterWrite
5
+ import com.sksamuel.aedile.core.refreshAfterWrite
6
6
import io.github.oshai.kotlinlogging.KotlinLogging.logger
7
7
import io.github.typesafegithub.workflows.actionbindinggenerator.domain.ActionCoords
8
8
import io.github.typesafegithub.workflows.actionbindinggenerator.domain.prettyPrint
@@ -33,7 +33,7 @@ typealias ArtifactResult = Result<Map<String, Artifact>>
33
33
private val bindingsCache =
34
34
Caffeine
35
35
.newBuilder()
36
- .expireAfterWrite (1 .hours)
36
+ .refreshAfterWrite (1 .hours)
37
37
.recordStats()
38
38
.asLoadingCache<ActionCoords , ArtifactResult > { runCatching { it.buildVersionArtifacts()!! } }
39
39
You can’t perform that action at this time.
0 commit comments