From c59fab23491546bdf4e7fbde77a9fa0874b4e594 Mon Sep 17 00:00:00 2001 From: crazyproger Date: Wed, 27 Jun 2018 17:52:56 +0300 Subject: [PATCH] PARTS_COUNT comment --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 09187fe..9865ed4 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,9 @@ All configuration properties can be passed through environment variables. * `LOGS_API_HOST` - Base host of LogsAPI endpoints. (default: `https://api.appmetrica.yandex.ru`) * `REQUEST_CHUNK_ROWS` - Size of chunks to process at once. (default: `25000`) * `ALLOW_CACHED` - Flag that allows cached LogsAPI data. Possible values: `0`, `1`. (default: `0`) +* `PARTS_COUNT` - Start parts count for endpoint, should be valid JSON dictionary(`String:Int`). Possible values: `'{"events":10}'`. (default: `'{}'`) + *Note: as described in LogsAPI documentation - for files more than 5GB server should return HTTP status `400` immediately, + but by some reason it starts to return data and reset connection in the middle. In such case loader should start with manually selected parts count.* #### Scheduling configuration * `UPDATE_LIMIT` - Count of days for the first events fetch. (default: `30`)