Skip to content

Commit

Permalink
CLOUD-4211 Cloud clustering profiles should configure a distributed c…
Browse files Browse the repository at this point in the history
…aches instead of a replicated ones
  • Loading branch information
rhusar committed Jun 6, 2024
1 parent c1b0b0e commit b9feead
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Infinispan, add a more efficient cache if we already have the dist distributed cache.
# Infinispan
# Add a distributed cache optimized for the cloud called 'sessions' if we already have the dist distributed cache.
if (outcome == success) of /subsystem=infinispan/cache-container=web/distributed-cache=dist:read-resource
/subsystem=infinispan/cache-container=web/replicated-cache=repl:add
/subsystem=infinispan/cache-container=web:write-attribute(name=default-cache,value=repl)
/subsystem=infinispan/cache-container=web/replicated-cache=repl/component=locking:add(isolation=REPEATABLE_READ
/subsystem=infinispan/cache-container=web/replicated-cache=repl/component=transaction:add(mode=BATCH
/subsystem=infinispan/cache-container=web/replicated-cache=repl/store=file:add
/subsystem=infinispan/cache-container=web/distributed-cache=sessions:add
/subsystem=infinispan/cache-container=web/distributed-cache=sessions/component=expiration:add(interval=0)
/subsystem=infinispan/cache-container=web:write-attribute(name=default-cache,value=sessions)
end-if

0 comments on commit b9feead

Please sign in to comment.