Skip to content

Commit

Permalink
Merge pull request #2221 from murgatroid99/grpc-js-xds_outlier_detect…
Browse files Browse the repository at this point in the history
…ion_default

grpc-js-xds: Enable outlier detection by default
  • Loading branch information
murgatroid99 committed Sep 7, 2022
2 parents 1a3600e + 3c27ed4 commit bb322dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/grpc-js-xds/src/environment.ts
Expand Up @@ -16,4 +16,4 @@
*/

export const EXPERIMENTAL_FAULT_INJECTION = (process.env.GRPC_XDS_EXPERIMENTAL_FAULT_INJECTION ?? 'true') === 'true';
export const EXPERIMENTAL_OUTLIER_DETECTION = process.env.GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION === 'true';
export const EXPERIMENTAL_OUTLIER_DETECTION = (process.env.GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION ?? 'true') === 'true';
2 changes: 1 addition & 1 deletion packages/grpc-js/src/load-balancer-outlier-detection.ts
Expand Up @@ -38,7 +38,7 @@ function trace(text: string): void {

const TYPE_NAME = 'outlier_detection';

const OUTLIER_DETECTION_ENABLED = process.env.GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION !== 'false';
const OUTLIER_DETECTION_ENABLED = (process.env.GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION ?? 'true') === 'true';

export interface SuccessRateEjectionConfig {
readonly stdev_factor: number;
Expand Down

0 comments on commit bb322dc

Please sign in to comment.