mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1576 - ClusterManager creates ClusterBroadcast even when config is not active
This commit is contained in:
@@ -29,7 +29,7 @@ public class ClusterManager implements ServerLookup {
|
||||
|
||||
public ClusterManager(ContainerConfig config) {
|
||||
ClusterBroadcastFactory factory = createFactory();
|
||||
if (factory != null) {
|
||||
if (factory != null && config.isActive()) {
|
||||
broadcast = factory.create(this, config);
|
||||
} else {
|
||||
broadcast = null;
|
||||
|
||||
Reference in New Issue
Block a user