TennyZhuang commented on issue #437:
URL: https://github.com/apache/iceberg-rust/issues/437#issuecomment-2210604365

   3. Store `(fetched_at, token)` pair in an async `Mutex`, and check whether 
it's close to expiration when needed. If it's close to expiration, lock the 
mutex, update the pair, and unlock. Then only one request will update the token.


-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to