diff --git a/src/actinia_processing_lib/ephemeral_processing.py b/src/actinia_processing_lib/ephemeral_processing.py index 47bae64..5ad031f 100644 --- a/src/actinia_processing_lib/ephemeral_processing.py +++ b/src/actinia_processing_lib/ephemeral_processing.py @@ -1507,12 +1507,13 @@ def _wait_for_process( """ start_time = time.time() - self.start_time = start_time - self.start_datetime = str( - datetime.fromtimestamp(start_time, timezone.utc).replace( - tzinfo=None, - ), - ) + if not self.start_time and not self.start_datetime: + self.start_time = start_time + self.start_datetime = str( + datetime.fromtimestamp(start_time, timezone.utc).replace( + tzinfo=None, + ), + ) termination_check_count = 0 update_check_count = 0