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)