home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.03k stars 28.28k forks source link

Replace utcnow().timestamp() with time.time() in auth_store #116879

Closed bdraco closed 1 week ago

bdraco commented 1 week ago

Proposed change

utcnow().timestamp() is a slower way to get time.time()

Type of change

Additional information

Checklist

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

To help with the load of incoming pull requests: