You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/07/11 17:50:25 UTC

[GitHub] [airflow] Caerbannog commented on issue #24928: Show a browser notification when a DAG run completes

Caerbannog commented on issue #24928:
URL: https://github.com/apache/airflow/issues/24928#issuecomment-1180695508

   Just to be clear : I think that a 5s precision is quite sufficient.
   
   If this notification feature was enabled, it would purely be javascript code.
   When the feature is enabled, the auto-refresh wouldn't be paused when the page goes in background. The 5s requests would still fire, and when they indicate that the task finished the notification would be shown (and the requests stopped).
   
   Also, a real streaming API might not be preferrable to the current polling system. For instance we currently deploy Airflow behind a load balancer with a 60s HTTP timeout, and I suspect that few organisations in our situation would bother setting up a websocket-style channel just for below-5s-latency.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org