8442: Make work_api parameter to ArvCwlRunner constructor optional.
[arvados.git] / services / keep-balance / main.go
index 42a8d635b131f14a78f2ac7ced915a32d0f5a7f7..364bb3ffd3f6b437ec1d46edf52223539fb1161b 100644 (file)
@@ -28,6 +28,14 @@ type Config struct {
 
        // How often to check
        RunPeriod arvados.Duration
+
+       // Number of collections to request in each API call
+       CollectionBatchSize int
+
+       // Max collections to buffer in memory (bigger values consume
+       // more memory, but can reduce store-and-forward latency when
+       // fetching pages)
+       CollectionBuffers int
 }
 
 // RunOptions controls runtime behavior. The flags/options that belong