Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(gateway): reuse 'now' instant for
poll_acquire
(#2393)
We're always calling `clock_gettime()` when acquiring a permit even if we've just done so already in when checking readiness. This is not a big deal performance wise, but it feels counterintuitive to not reuse already fetched resources as if the alrorithm required it (it does not).
- Loading branch information