tighten limits slightly when feature flag is on
@@ -86,8 +86,8 @@ public class ConfigSentinel extends AbstractService implements SentinelConfig.Pr
private SentinelConfig.Connectivity.Builder getConnectivityConfig(boolean enable) {
var builder = new SentinelConfig.Connectivity.Builder();
if (enable) {
- builder.minOkPercent(40);
- builder.maxBadCount(3);
+ builder.minOkPercent(50);
+ builder.maxBadCount(2);
} else {
builder.minOkPercent(0);
builder.maxBadCount(Integer.MAX_VALUE);
