Skip to content

Commit

Permalink
Reduce Infinispan timeouts (#718)
Browse files Browse the repository at this point in the history
* remote-timeout set to 5 seconds
* lock acquire-timeout set to 4 seconds
* cross-site timeout set to 4.5 seconds

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
  • Loading branch information
pruivo authored Feb 16, 2024
1 parent 91c2bc3 commit 082587a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions provision/infinispan/ispn-helm/templates/infinispan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ spec:
owners: {{ $config.owners | default $.Values.cacheDefaults.owners | quote }}
statistics: "true"
remoteTimeout: {{ $config.remoteTimeout | default $.Values.cacheDefaults.remoteTimeout }}
locking:
acquireTimeout: {{ $config.lockTimeout | default $.Values.cacheDefaults.lockTimeout }}
stateTransfer:
chunkSize: 16
{{ if $.Values.crossdc.enabled }}
Expand Down
5 changes: 3 additions & 2 deletions provision/infinispan/ispn-helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ cacheDefaults:
crossSiteMode: SYNC
# AUTO or MANUAL
stateTransferMode: AUTO
remoteTimeout: 14000
xsiteRemoteTimeout: 13000
remoteTimeout: 5000
xsiteRemoteTimeout: 4500
lockTimeout: 4000
caches:
sessions:
owners: 2
Expand Down

0 comments on commit 082587a

Please sign in to comment.