mirror of
https://github.com/keycloak/keycloak.git
synced 2025-12-20 14:00:09 -06:00
Change RHDG to Infinispan
Closes #26083
Signed-off-by: AndyMunro <amunro@redhat.com>
(cherry picked from commit 520c849995)
This commit is contained in:
committed by
Alexander Schwartz
parent
0a22304bf0
commit
38b48c8459
@@ -2,12 +2,12 @@
|
||||
|
||||
=== Offline sessions preloading
|
||||
|
||||
In addition to {jdgserver_name} caches, offline sessions are stored in a database which means they will be available even after server restart.
|
||||
By default, the offline sessions are not preloaded from the database into the {jdgserver_name} caches during the server startup, because this
|
||||
In addition to Infinispan caches, offline sessions are stored in a database which means they will be available even after server restart.
|
||||
By default, the offline sessions are not preloaded from the database into the Infinispan caches during the server startup, because this
|
||||
approach has a drawback if there are many offline sessions to be preloaded. It can significantly slow down the server startup time.
|
||||
Therefore, the offline sessions are lazily fetched from the database by default.
|
||||
|
||||
However, {project_name} can be configured to preload the offline sessions from the database into the {jdgserver_name} caches during the server startup.
|
||||
However, {project_name} can be configured to preload the offline sessions from the database into the Infinispan caches during the server startup.
|
||||
It can be achieved by setting `preloadOfflineSessionsFromDatabase` property in the `userSessions` SPI to `true`.
|
||||
|
||||
The following example shows how to configure offline sessions preloading.
|
||||
|
||||
Reference in New Issue
Block a user