From 77f7e3608b93fab7c91445276a93c55e475c8a36 Mon Sep 17 00:00:00 2001 From: vinny Date: Thu, 2 Jun 2022 11:42:25 -0400 Subject: [PATCH] HARMONY-1125: Clarify env variable purpose --- README.md | 2 +- harmony/util.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cfbfccf..cebb00d 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ OPTIONAL: health check command. The container is considered unhealthy if the mtime of the file is old - where 'old' is configurable in the service container. If this variable is not set the path defaults to '/tmp/health.txt'. -* `MAX_DOWNLOAD_RETRIES`: Number of times to retry failed HTTP calls via the http module. +* `MAX_DOWNLOAD_RETRIES`: Number of times to retry HTTP download calls that fail due to transient errors. OPTIONAL -- Use with CAUTION: diff --git a/harmony/util.py b/harmony/util.py index 01f34b4..dc85c3c 100644 --- a/harmony/util.py +++ b/harmony/util.py @@ -47,7 +47,7 @@ TEXT_LOGGER: Whether to log in plaintext or JSON. Default: True (plaintext). HEALTH_CHECK_PATH: The filesystem path that should be `touch`ed to indicate the service is alive. - MAX_DOWNLOAD_RETRIES: Number of times to retry failed HTTP calls via the http module. + MAX_DOWNLOAD_RETRIES: Number of times to retry HTTP download calls that fail due to transient errors. """ from base64 import b64decode