imsnif/bandwhich

Retry DNS only after timeout

Open

#127 aperta il 16 gen 2020

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)Rust (237 fork)batch import
good first issuehelp wanted

Metriche repository

Star
 (7686 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor