Skip to content

Commit

Permalink
Merge pull request #123 from zhitaozhu/master
Browse files Browse the repository at this point in the history
use FP to choose if optimize broadcast
  • Loading branch information
pkarumanchi9 authored May 13, 2022
2 parents 13d3a33 + ef8ae35 commit f2129dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public boolean isDaemon() {
}

public boolean shouldOptimize() {
return true;
return EVCacheConfig.getInstance().getPropertyRepository().get("evcache.broadcast.ascii.connection.optimize", Boolean.class).orElse(true).get();
}

public boolean isDefaultExecutorService() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public boolean isDaemon() {
}

public boolean shouldOptimize() {
return true;
return EVCacheConfig.getInstance().getPropertyRepository().get("evcache.broadcast.base.connection.optimize", Boolean.class).orElse(true).get();
}

public boolean isDefaultExecutorService() {
Expand Down

0 comments on commit f2129dc

Please sign in to comment.