Message416247
logging.DatagramHandler uses socket.sendto to send the messages. If the given address is a hostname rather than an IP address, it will do a DNS lookup every time.
I suspect that fixing issue 14855 will also fix this, since fixing that issue requires resolving the hostname to determine whether it is an IPv4 or IPv6 address to create a suitable socket.
I've run into this on 3.8, but tagging 3.10 since the code still looks the same. |
|
Date |
User |
Action |
Args |
2022-03-29 08:47:19 | bmerry | set | recipients:
+ bmerry |
2022-03-29 08:47:19 | bmerry | set | messageid: <1648543639.58.0.923135953431.issue47149@roundup.psfhosted.org> |
2022-03-29 08:47:19 | bmerry | link | issue47149 messages |
2022-03-29 08:47:19 | bmerry | create | |
|