mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-25 16:42:34 +00:00
Document spi-user-sessions--infinispan--use-batches
Closes #41219 Signed-off-by: Ryan Emerson <remerson@redhat.com>
This commit is contained in:
@@ -338,10 +338,17 @@ public class InfinispanUserSessionProviderFactory implements UserSessionProvider
|
||||
public List<ProviderConfigProperty> getConfigMetadata() {
|
||||
ProviderConfigurationBuilder builder = ProviderConfigurationBuilder.create();
|
||||
|
||||
builder.property()
|
||||
.name(CONFIG_USE_BATCHES)
|
||||
.type("boolean")
|
||||
.helpText("Enable or disable batch writes to the database. Enabled by default with the persistent-user-sessions Feature")
|
||||
.defaultValue(DEFAULT_USE_BATCHES)
|
||||
.add();
|
||||
|
||||
builder.property()
|
||||
.name(CONFIG_MAX_BATCH_SIZE)
|
||||
.type("int")
|
||||
.helpText("Maximum size of a batch size (only applicable to persistent sessions")
|
||||
.helpText("Maximum size of a batch (only applicable to persistent sessions")
|
||||
.defaultValue(DEFAULT_MAX_BATCH_SIZE)
|
||||
.add();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user