added optional key prefix to memcache backend

This commit is contained in:
2025-06-13 17:45:15 +08:00
parent 0e92998f16
commit fd0bd1ee5f
10 changed files with 51 additions and 41 deletions

View File

@@ -86,6 +86,7 @@ object GraalNativeImageConfiguration {
4)
),
Duration.ofSeconds(60),
"someCustomPrefix",
"MD5",
null,
1,
@@ -116,23 +117,8 @@ object GraalNativeImageConfiguration {
null,
)
MemcacheCacheConfiguration(
listOf(
MemcacheCacheConfiguration.Server(
HostAndPort("127.0.0.1", 11211),
1000,
4
)
),
Duration.ofSeconds(60),
"MD5",
null,
1,
)
val serverHandle = RemoteBuildCacheServer(serverConfiguration).run()
val clientProfile = ClientConfiguration.Profile(
URI.create("http://127.0.0.1:$serverPort/"),
ClientConfiguration.Connection(