mirror of
https://github.com/mailscope/kumomta.git
synced 2026-08-20 03:18:18 +00:00
eda083f083
This commit does two things: * Migrate the limit of 128 concurrent lookups from the shaping code and into the general mx lookup code * Adjust the mx lookup implementation to run inside the cache getter, which applies thundering herd protection to the lookup. These together will constrain the amount of queries being sent to the upstream dns resolver and reduce the chances of it being overwhelmed, especially if we are doing duplicate queries from multiple concurrent contexts simultaneously.