Increased default read rate.
This commit is contained in:
parent
7f39898b70
commit
f581bb4f6e
1 changed files with 1 additions and 2 deletions
|
|
@ -53,9 +53,8 @@ func withDefaults(config Config) Config {
|
||||||
config.BatchSize = 4 * 1024 * 1024
|
config.BatchSize = 4 * 1024 * 1024
|
||||||
}
|
}
|
||||||
|
|
||||||
// Not totally clear we need this rate limit. The KCL may do rate limiting for us.
|
|
||||||
if config.ReadRateLimit == 0 {
|
if config.ReadRateLimit == 0 {
|
||||||
config.ReadRateLimit = 1000
|
config.ReadRateLimit = 2500
|
||||||
}
|
}
|
||||||
if config.ReadBurstLimit == 0 {
|
if config.ReadBurstLimit == 0 {
|
||||||
config.ReadBurstLimit = int(float64(config.ReadRateLimit)*1.2 + 0.5)
|
config.ReadBurstLimit = int(float64(config.ReadRateLimit)*1.2 + 0.5)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue