-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure JPA L2 cache coordination between instances on Openshift® /…
… Kubernetes (#8982)
- Loading branch information
1 parent
67403c0
commit 161ff94
Showing
6 changed files
with
95 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
assembly/assembly-wsmaster-war/src/main/webapp/WEB-INF/classes/jgroups/che-tcp.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<!-- | ||
Copyright (c) 2012-2018 Red Hat, Inc. | ||
All rights reserved. This program and the accompanying materials | ||
are made available under the terms of the Eclipse Public License v1.0 | ||
which accompanies this distribution, and is available at | ||
http://www.eclipse.org/legal/epl-v10.html | ||
Contributors: | ||
Red Hat, Inc. - initial API and implementation | ||
--> | ||
<config xmlns="urn:org:jgroups" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/JGroups-3.1.xsd"> | ||
<TCP | ||
bind_addr="match-interface:eth0" | ||
bind_port="${TCP_PORT:7800}" | ||
recv_buf_size="5M" | ||
send_buf_size="1M" | ||
max_bundle_size="64K" | ||
enable_diagnostics="true" | ||
thread_naming_pattern="cl" | ||
|
||
thread_pool.min_threads="0" | ||
thread_pool.max_threads="500" | ||
thread_pool.keep_alive_time="30000" /> | ||
|
||
<kubernetes.KUBE_PING | ||
labels="app=che" /> | ||
|
||
<MERGE2 min_interval="10000" | ||
max_interval="30000"/> | ||
<FD_SOCK/> | ||
<FD timeout="3000" max_tries="3"/> | ||
<VERIFY_SUSPECT timeout="1500"/> | ||
<BARRIER/> | ||
<pbcast.NAKACK2 use_mcast_xmit="false" | ||
discard_delivered_msgs="true"/> | ||
<UNICAST/> | ||
<pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000" | ||
max_bytes="4M"/> | ||
<pbcast.GMS print_local_addr="true" join_timeout="3000" | ||
|
||
view_bundling="true"/> | ||
<UFC max_credits="2M" | ||
min_threshold="0.4"/> | ||
<MFC max_credits="2M" | ||
min_threshold="0.4"/> | ||
<FRAG2 frag_size="60K"/> | ||
<pbcast.STATE_TRANSFER/> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters