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: [email protected]

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

Reply via email to