amoghrajesh commented on issue #53713:
URL: https://github.com/apache/airflow/issues/53713#issuecomment-3405488940

   By default, 
   
   scheduler.task_queued_timeout = 600.0 seconds
   execution_api.jwt_expiration_time = 600 seconds
   
   This can potentially create a condition where JWT tokens expire at the exact 
same time the scheduler decides tasks have been queued too long.
   
   A potential solution would be to ensure that the JWT expiration should be 
longer than task queued timeout.
   
   I think a workaround for this would be to increase the JWT expiration time 
to ensure its long enough so that task has a valid token when it gets executed. 
A long term fix would ideally be to validate if `jwt_expiry` <=  
`task_queued_timeout`?
   


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