cboudereau / gcs-rsync

Lightweight Google Cloud Storage sync Rust Client with better performance than gsutil rsync
https://docs.rs/gcs-rsync/
MIT License
13 stars 8 forks source link

Properly convert to microseconds calculation when deserializing token #37

Closed ianks closed 5 months ago

ianks commented 5 months ago

We started noticing 401s in an application that uses this crate, and when digging into the code I noticed the logic changes for expiry calculation in https://github.com/cboudereau/gcs-rsync/commit/5e3df56c7a25f49f5f6e14dd40f9953c6eb59441

cboudereau commented 5 months ago

Thank you @ianks, the fix has been published and available here: https://github.com/cboudereau/gcs-rsync/releases/tag/v0.4.2