1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-10 18:10:49 +09:00

fix zeroconf params

This commit is contained in:
Roman Khafizianov 2024-08-05 11:21:20 +02:00
parent e1e3c49602
commit 093b69dad8
No known key found for this signature in database
GPG key ID: F07A7D55A2684852

View file

@ -201,9 +201,9 @@ func (l *localDiscovery) startServer() (err error) {
l.ipv4, // do not include ipv6 addresses, because they are disabled
nil,
l.interfacesAddrs.Interfaces,
zeroconf.TTL(60),
zeroconf.TTL(3600),
zeroconf.ServerSelectIPTraffic(zeroconf.IPv4), // disable ipv6 for now
zeroconf.WriteTimeout(time.Second*1),
zeroconf.WriteTimeout(time.Second*10),
)
return
}