0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

fix broadcast

This commit is contained in:
Zack Scholl 2018-06-24 06:15:58 -07:00
parent 6c3bb17d7c
commit 3c22789e3b

View file

@ -232,6 +232,7 @@ func (c *Connection) Run() error {
if c.Server == "" {
log.Debug("settings payload to ", c.Code)
go func() {
log.Debug("listening for local croc relay...")
go peerdiscovery.Discover(peerdiscovery.Settings{
Limit: 1,
TimeLimit: 600 * time.Second,