X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/55aafbb07904ca24390dd47ea960eae7cb2b909a..ff241c645b4f9c817739141016d6bb38ae46dc97:/services/keep-balance/usage.go diff --git a/services/keep-balance/usage.go b/services/keep-balance/usage.go index 0f4effe6f4..b39e83905d 100644 --- a/services/keep-balance/usage.go +++ b/services/keep-balance/usage.go @@ -17,9 +17,12 @@ Client: Insecure: false KeepServiceTypes: - disk +Listen: ":9005" +ManagementToken: xyzzy RunPeriod: 600s CollectionBatchSize: 100000 -CollectionBuffers: 1000`) +CollectionBuffers: 1000 +RequestTimeout: 30m`) func usage() { fmt.Fprintf(os.Stderr, ` @@ -86,6 +89,11 @@ Tuning resource usage: while the current page is still being processed. If this is zero or omitted, pages are processed serially. + RequestTimeout is the maximum time keep-balance will spend on a + single HTTP request (getting a page of collections, getting the + block index from a keepstore server, or sending a trash or pull + list to a keepstore server). Defaults to 30 minutes. + Limitations: keep-balance does not attempt to discover whether committed pull