Skip to content

Commit

Permalink
live switch avax quote for 100 percent
Browse files Browse the repository at this point in the history
  • Loading branch information
jsy1218 committed Apr 23, 2024
1 parent a17a698 commit ad0d352
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ export const QUOTE_PROVIDER_TRAFFIC_SWITCH_CONFIGURATION = (
case ChainId.AVALANCHE:
// Avalanche RPC eth_call traffic is about 1/100 of mainnet, so we can shadow sample 10% of traffic
return {
switchExactInPercentage: 1,
samplingExactInPercentage: 10,
switchExactOutPercentage: 1,
samplingExactOutPercentage: 10,
switchExactInPercentage: 100,
samplingExactInPercentage: 0,
switchExactOutPercentage: 100,
samplingExactOutPercentage: 0,
} as QuoteProviderTrafficSwitchConfiguration
// If we accidentally switch a traffic, we have the protection to shadow sample only 0.1% of traffic
default:
Expand Down

0 comments on commit ad0d352

Please sign in to comment.