imsnif/bandwhich

Retry DNS only after timeout

Ouverte

#127 ouverte le 16 janv. 2020

 (5 commentaires) (0 réaction) (0 personne assignée)Rust (237 forks)batch import
good first issuehelp wanted

Métriques du dépôt

Stars
 (7 686 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur