You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "notatallshaw (via GitHub)" <gi...@apache.org> on 2023/02/28 18:57:16 UTC

[GitHub] [airflow] notatallshaw commented on pull request #29815: Making AF more resistant to DB hiccups

notatallshaw commented on PR #29815:
URL: https://github.com/apache/airflow/pull/29815#issuecomment-1448699221

   Small thing, and I'm not sure if Airflow devs already have a policy about this but time.time() is not guaranteed to be monotonic so you could report a negative value when you do time.time() - start_time.
   
   You can use time.monotonic() or time.perf_counter() to get monotonic time.


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