cccs-seb commented on issue #23901:
URL: https://github.com/apache/airflow/issues/23901#issuecomment-1142515694

   @potiuk BashOperator and PythonVirtualenvOperator essentially run code very 
similar to each other (both run a subprocess to run the task code). 
PythonVirtualenvOperator uses the `process_utils.execute_subprocess` function 
while BashOperator uses `SubprocessHook` - but BashOperator's 
`execution_timeout` works as expected while PythonVirtualenvOperator doesn't. 
Hence, why this seems like a bug rather than a not-supported/invalid issue.
   
   If you do think it's still an invalid issue, then I think it'd be best to 
update the documentation to state that `execution_timeout` does not work for 
PythonVirtualenvOperator. I can contribute for this if you point me in the 
right direction!
   
   


-- 
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