Skip to content

Commit 3c27ed4

Browse files
committed
grpc-js: Update grpc-js outlier detection check to match xds check
1 parent d8022a5 commit 3c27ed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/grpc-js/src/load-balancer-outlier-detection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function trace(text: string): void {
3838

3939
const TYPE_NAME = 'outlier_detection';
4040

41-
const OUTLIER_DETECTION_ENABLED = process.env.GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION !== 'false';
41+
const OUTLIER_DETECTION_ENABLED = (process.env.GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION ?? 'true') === 'true';
4242

4343
export interface SuccessRateEjectionConfig {
4444
readonly stdev_factor: number;

0 commit comments

Comments
 (0)