server: reduce deadTTL to 1 minute
Kim committed
Oct 22, 2025 at 14:18 UTC
948994ff53cbe5ed02932750d50588052150f962
1 file changed
+1
-1
relaydns/server.go
+1
-1
@@ -58,7 +58,7 @@ func NewRelayServer(ctx context.Context, h host.Host, protocol, topic string) (*
58
sub: sub,
59
store: map[string]HostEntry{},
60
ttl: 15 * time.Second,
61
- deadTTL: 10 * time.Minute,
61
+ deadTTL: 1 * time.Minute,
62
}
63
d.wg.Add(2)
64
go d.collect()