From 599e6bc5f96cb53b3793c71530cc3cc2c21c823c Mon Sep 17 00:00:00 2001 From: Eric Novotny Date: Tue, 30 Dec 2025 14:14:48 -0800 Subject: [PATCH] fix timeseries store multithread --- cwms/timeseries/timeseries.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cwms/timeseries/timeseries.py b/cwms/timeseries/timeseries.py index 809d2005..4e9b9757 100644 --- a/cwms/timeseries/timeseries.py +++ b/cwms/timeseries/timeseries.py @@ -606,8 +606,8 @@ def store_timeseries( for chunk in chunks: future = executor.submit( api.post, # The function to execute - endpoint, # The chunk of data to store - data, + endpoint, + chunk, # The chunk of data to store params, ) futures.append(future) # Add the future to the list