diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2023-10-30 08:45:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-30 11:45:45 -0400 |
commit | 1acef755ca8a0a0433a98e4a66433c63ee0a3b09 (patch) | |
tree | 015ce439d800e8e35916d498de3780e6ee03e0df /ext/kv/remote.rs | |
parent | 02cc37e05494e576ea8e120b9fe21b447da9546b (diff) |
chore: remove usage of chrono::Utc::now() (#20995)
Remove usage of Chrono's clock feature which pulls in iana-time-zone ->
core-foundation
Diffstat (limited to 'ext/kv/remote.rs')
-rw-r--r-- | ext/kv/remote.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/kv/remote.rs b/ext/kv/remote.rs index 38b233cc3..0a061b35b 100644 --- a/ext/kv/remote.rs +++ b/ext/kv/remote.rs @@ -426,7 +426,7 @@ async fn metadata_refresh_task( metadata .expires_at .timestamp_millis() - .saturating_sub(Utc::now().timestamp_millis()), + .saturating_sub(crate::time::utc_now().timestamp_millis()), ) .unwrap_or_default(); |