CHE-9528 Disabled JPA coordination until closing JPA JChannel issue won't be fixed

6.19.x
Sergii Leshchenko 2018-04-24 12:14:26 +03:00
parent 67d27e9eff
commit 78dda67b2a
1 changed files with 3 additions and 1 deletions

View File

@ -280,7 +280,9 @@ public class WsMasterModule extends AbstractModule {
Map<String, String> persistenceProperties, String infrastructure) {
if (OpenShiftInfrastructure.NAME.equals(infrastructure)
|| KubernetesInfrastructure.NAME.equals(infrastructure)) {
install(new ReplicationModule(persistenceProperties));
// Replication is disabled until closing JPA JChannel issue won't be fixed
// install(new ReplicationModule(persistenceProperties));
bind(RemoteSubscriptionStorage.class).to(InmemoryRemoteSubscriptionStorage.class);
} else {
bind(RemoteSubscriptionStorage.class).to(InmemoryRemoteSubscriptionStorage.class);
}