Skip to content

Commit 40c92ec

Browse files
nmdefrieskrivard
andauthored
alert about actual # of threads being used
Co-authored-by: Katie Mazaitis <[email protected]>
1 parent 1eb5719 commit 40c92ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_delphi_utils_python/delphi_utils/validator/datafetcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def threaded_api_calls(data_source, min_date, max_date,
223223
"""Get data from API for all geo-signal combinations in a threaded way."""
224224
if n_threads > MAX_ALLOWED_THREADS:
225225
n_threads = MAX_ALLOWED_THREADS
226-
warnings.warn(f"Warning: Don't run more than {MAX_ALLOWED_THREADS} threads at once due "
226+
warnings.warn(f"Warning: instead of requested thread count, using only {MAX_ALLOWED_THREADS} threads due "
227227
+ "to API resource limitations")
228228

229229
output_dict = dict()

0 commit comments

Comments
 (0)