mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#1576 - ClusterManager creates ClusterBroadcast even when config is not active
This commit is contained in:
1 parent
8410de8831
commit
6d5374e66a
1 file changed
+1
-1
@@ -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