Skip to content

Commit

Permalink
chore: disable latency sampling traffic (#886)
Browse files Browse the repository at this point in the history
  • Loading branch information
xrsv authored Oct 24, 2024
1 parent f2a08f0 commit ca6cdd7
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions lib/config/rpcProviderProdConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,44 @@
{
"chainId": 42220,
"useMultiProviderProb": 1,
"latencyEvaluationSampleProb": 0.1,
"healthCheckSampleProb": 0.1,
"latencyEvaluationSampleProb": 0,
"healthCheckSampleProb": 0,
"providerInitialWeights": [0, 1],
"providerUrls": ["QUICKNODE_42220", "UNIRPC_0"],
"providerNames": ["QUICKNODE", "UNIRPC"]
},
{
"chainId": 43114,
"useMultiProviderProb": 1,
"latencyEvaluationSampleProb": 0.1,
"healthCheckSampleProb": 0.1,
"latencyEvaluationSampleProb": 0,
"healthCheckSampleProb": 0,
"providerInitialWeights": [0, 1],
"providerUrls": ["QUICKNODE_43114", "UNIRPC_0"],
"providerNames": ["QUICKNODE", "UNIRPC"]
},
{
"chainId": 56,
"useMultiProviderProb": 1,
"latencyEvaluationSampleProb": 0.01,
"healthCheckSampleProb": 0.01,
"latencyEvaluationSampleProb": 0,
"healthCheckSampleProb": 0,
"providerInitialWeights": [0.3, 0.7],
"providerUrls": ["QUICKNODE_56", "UNIRPC_0"],
"providerNames": ["QUICKNODE", "UNIRPC"]
},
{
"chainId": 10,
"useMultiProviderProb": 1,
"latencyEvaluationSampleProb": 0.1,
"healthCheckSampleProb": 0.01,
"latencyEvaluationSampleProb": 0,
"healthCheckSampleProb": 0,
"providerInitialWeights": [0, 1],
"providerUrls": ["QUICKNODE_10", "UNIRPC_0"],
"providerNames": ["QUICKNODE", "UNIRPC"]
},
{
"chainId": 11155111,
"useMultiProviderProb": 1,
"latencyEvaluationSampleProb": 0.01,
"healthCheckSampleProb": 0.01,
"latencyEvaluationSampleProb": 0,
"healthCheckSampleProb": 0,
"providerInitialWeights": [0, 1],
"providerUrls": ["ALCHEMY_11155111", "UNIRPC_0"],
"providerNames": ["ALCHEMY", "UNIRPC"],
Expand All @@ -48,80 +48,80 @@
{
"chainId": 137,
"useMultiProviderProb": 1,
"latencyEvaluationSampleProb": 0.25,
"healthCheckSampleProb": 0.005,
"latencyEvaluationSampleProb": 0,
"healthCheckSampleProb": 0,
"providerInitialWeights": [0, 1],
"providerUrls": ["QUICKNODE_137", "UNIRPC_0"],
"providerNames": ["QUICKNODE", "UNIRPC"]
},
{
"chainId": 42161,
"useMultiProviderProb": 1,
"latencyEvaluationSampleProb": 0.1,
"healthCheckSampleProb": 0.002,
"latencyEvaluationSampleProb": 0,
"healthCheckSampleProb": 0,
"providerInitialWeights": [0.3, 0.7],
"providerUrls": ["QUICKNODE_42161", "UNIRPC_0"],
"providerNames": ["QUICKNODE", "UNIRPC"]
},
{
"chainId": 8453,
"useMultiProviderProb": 1,
"latencyEvaluationSampleProb": 0.05,
"healthCheckSampleProb": 0.0005,
"latencyEvaluationSampleProb": 0,
"healthCheckSampleProb": 0,
"providerInitialWeights": [0.7, 0.3],
"providerUrls": ["QUICKNODE_8453", "UNIRPC_0"],
"providerNames": ["QUICKNODE", "UNIRPC"]
},
{
"chainId": 1,
"useMultiProviderProb": 1,
"latencyEvaluationSampleProb": 0.05,
"healthCheckSampleProb": 0.001,
"latencyEvaluationSampleProb": 0,
"healthCheckSampleProb": 0,
"providerInitialWeights": [0.9, 0.1, 0],
"providerUrls": ["QUICKNODE_1", "UNIRPC_0", "QUICKNODERETH_1"],
"providerNames": ["QUICKNODE", "UNIRPC", "QUICKNODERETH"]
},
{
"chainId": 81457,
"useMultiProviderProb": 1,
"latencyEvaluationSampleProb": 0.001,
"healthCheckSampleProb": 0.001,
"latencyEvaluationSampleProb": 0,
"healthCheckSampleProb": 0,
"providerInitialWeights": [0, 1],
"providerUrls": ["QUICKNODE_81457", "UNIRPC_0"],
"providerNames": ["QUICKNODE", "UNIRPC"]
},
{
"chainId": 7777777,
"useMultiProviderProb": 1,
"latencyEvaluationSampleProb": 0.001,
"healthCheckSampleProb": 0.001,
"latencyEvaluationSampleProb": 0,
"healthCheckSampleProb": 0,
"providerInitialWeights": [0, 1],
"providerUrls": ["QUICKNODE_7777777", "UNIRPC_0"],
"providerNames": ["QUICKNODE", "UNIRPC"]
},
{
"chainId": 324,
"useMultiProviderProb": 1,
"latencyEvaluationSampleProb": 0.01,
"healthCheckSampleProb": 0.01,
"latencyEvaluationSampleProb": 0,
"healthCheckSampleProb": 0,
"providerInitialWeights": [0, 1],
"providerUrls": ["QUICKNODE_324", "UNIRPC_0"],
"providerNames": ["QUICKNODE", "UNIRPC"]
},
{
"chainId": 480,
"useMultiProviderProb": 1,
"latencyEvaluationSampleProb": 0.01,
"healthCheckSampleProb": 0.01,
"latencyEvaluationSampleProb": 0,
"healthCheckSampleProb": 0,
"providerInitialWeights": [1],
"providerUrls": ["QUICKNODE_480"],
"providerNames": ["QUICKNODE"]
},
{
"chainId": 1301,
"useMultiProviderProb": 1,
"latencyEvaluationSampleProb": 0.01,
"healthCheckSampleProb": 0.01,
"latencyEvaluationSampleProb": 0,
"healthCheckSampleProb": 0,
"providerInitialWeights": [1],
"providerUrls": ["QUICKNODE_1301"],
"providerNames": ["QUICKNODE"]
Expand Down

0 comments on commit ca6cdd7

Please sign in to comment.