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:
parent
e1e3c49602
commit
093b69dad8
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue