25b51cad3d
...for limiting concurrent external DNS requests with "golang.org/x/sync/semaphore".Weighted. Replace the ad-hoc rate limiter for when the concurrency limit is hit (which contains a data-race bug) with "golang.org/x/time/rate".Sometimes. Immediately retrying with the next server if the concurrency limit has been hit just further compounds the problem. Wait on the semaphore and refuse the query if it could not be acquired in a reasonable amount of time. Signed-off-by: Cory Snider <csnider@mirantis.com> |
||
---|---|---|
.. | ||
crypto | ||
net | ||
oauth2 | ||
sync | ||
sys | ||
text | ||
time |