vandonr-amz commented on PR #33982:
URL: https://github.com/apache/airflow/pull/33982#issuecomment-1703031829

   > I do not know if it applicable, but maybe better make it global variable 
which could be set by env var?
   > 
   > ```python
   > import os
   > 
   > SM_MAX_RUNTIME_IN_SECONDS = os.environ("SM_MAX_RUNTIME_IN_SECONDS", 600)
   > 
   > ...
   > 
   >         "StoppingCondition": {"MaxRuntimeInSeconds": 
SM_MAX_RUNTIME_IN_SECONDS},
   > ```
   
   hmm, yeah I could do that, but those are the timeouts for 3 different kinds 
of jobs. I happen to set them all to the same value but there is no guarantee 
that they shouldn't be different.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to