From d3c5dbb3feca1024565569b853eb2bdc4b8f2418 Mon Sep 17 00:00:00 2001 From: Alexander Schwartz Date: Fri, 1 Mar 2024 09:23:41 +0100 Subject: [PATCH] Apply remote store workaround also for configuration via CLI options Closes #27409 Signed-off-by: Alexander Schwartz --- .../storage/legacy/infinispan/CacheManagerFactory.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/quarkus/runtime/src/main/java/org/keycloak/quarkus/runtime/storage/legacy/infinispan/CacheManagerFactory.java b/quarkus/runtime/src/main/java/org/keycloak/quarkus/runtime/storage/legacy/infinispan/CacheManagerFactory.java index 025e2ef846..c6a91e2f8d 100644 --- a/quarkus/runtime/src/main/java/org/keycloak/quarkus/runtime/storage/legacy/infinispan/CacheManagerFactory.java +++ b/quarkus/runtime/src/main/java/org/keycloak/quarkus/runtime/storage/legacy/infinispan/CacheManagerFactory.java @@ -244,7 +244,11 @@ public class CacheManagerFactory { .saslMechanism(SCRAM_SHA_512) .addServer() .host(cacheRemoteHost) - .port(cacheRemotePort); + .port(cacheRemotePort) + // This is a workaround for the following issue https://github.com/keycloak/keycloak/issues/27117 and should be removed when the issue is fixed + .async().enable().modificationQueueSize(1024) + // end of workaround + ; }); } }