From d0e08420b98de8e499022218689abcb98782f359 Mon Sep 17 00:00:00 2001 From: Ivareh Date: Tue, 13 Aug 2024 07:29:04 +0200 Subject: [PATCH] 379 Changed time_since_launch from 1 to 3600 in poe_api --- .../data_retrieval/poe_api_retrieval/poe_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend_data_retrieval/data_retrieval/external_data_retrieval/data_retrieval/poe_api_retrieval/poe_api.py b/src/backend_data_retrieval/data_retrieval/external_data_retrieval/data_retrieval/poe_api_retrieval/poe_api.py index 6ddf08273..8e72a3c4a 100644 --- a/src/backend_data_retrieval/data_retrieval/external_data_retrieval/data_retrieval/poe_api_retrieval/poe_api.py +++ b/src/backend_data_retrieval/data_retrieval/external_data_retrieval/data_retrieval/poe_api_retrieval/poe_api.py @@ -460,6 +460,6 @@ def dump_stream(self, track_progress: bool = True) -> Iterator[pd.DataFrame]: print("Finished transformation phase.") current_time = time.perf_counter() time_since_launch = current_time - self.time_of_launch - if time_since_launch > 1: + if time_since_launch > 3600: print("Program has run for more than an hour, shutting down.") os._exit(0)