File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
pkg/coordinator/tasks/tx_pool_latency_analysis Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -3,18 +3,20 @@ package txpoollatencyanalysis
33type Config struct {
44 PrivateKey string `yaml:"privateKey" json:"privateKey"`
55
6- TxCount int `yaml:"txCount" json:"txCount"`
6+ QPS int `yaml:"qps" json:"qps"`
7+ TxCount int `yaml:"txCount" json:"txCount"`
78 MeasureInterval int `yaml:"measureInterval" json:"measureInterval"`
8- HighLatency int64 `yaml:"highLatency" json:"highLatency"`
9+ HighLatency int64 `yaml:"highLatency" json:"highLatency"`
910 FailOnHighLatency bool `yaml:"failOnHighLatency" json:"failOnHighLatency"`
1011 SecondsBeforeRunning int64 `yaml:"secondsBeforeRunning" json:"secondsBeforeRunning"`
1112}
1213
1314func DefaultConfig () Config {
1415 return Config {
15- TxCount : 1000 ,
16+ QPS : 1000 ,
17+ TxCount : 1000 ,
1618 MeasureInterval : 100 ,
17- HighLatency : 5000 , // in microseconds
19+ HighLatency : 5000 , // in microseconds
1820 FailOnHighLatency : true ,
1921 SecondsBeforeRunning : 0 ,
2022 }
You can’t perform that action at this time.
0 commit comments