mirror of https://github.com/schollz/croc.git
fix broadcast
This commit is contained in:
parent
6c3bb17d7c
commit
3c22789e3b
|
@ -232,6 +232,7 @@ func (c *Connection) Run() error {
|
||||||
if c.Server == "" {
|
if c.Server == "" {
|
||||||
log.Debug("settings payload to ", c.Code)
|
log.Debug("settings payload to ", c.Code)
|
||||||
go func() {
|
go func() {
|
||||||
|
log.Debug("listening for local croc relay...")
|
||||||
go peerdiscovery.Discover(peerdiscovery.Settings{
|
go peerdiscovery.Discover(peerdiscovery.Settings{
|
||||||
Limit: 1,
|
Limit: 1,
|
||||||
TimeLimit: 600 * time.Second,
|
TimeLimit: 600 * time.Second,
|
||||||
|
|
Loading…
Reference in New Issue