imsnif/bandwhich

Retry DNS only after timeout

Open

#127 建立於 2020年1月16日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)Rust (237 fork)batch import
good first issuehelp wanted

倉庫指標

Star
 (7,686 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Right now, when we do our reverse-dns queries (getting the hostname of an ip address), if the request failed, we retry immediately. This can cause a lot of connections (also visible in the app!) to be opened if a request repeatedly fails.

It would be nice if we have some sort of progressive backoff mechanism for this... something like: wait for 1 second before retrying, then wait for 2, 4, etc.

貢獻者指南