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

change timelimit

This commit is contained in:
Zack Scholl 2018-04-22 23:29:45 -07:00
parent 7cea7ea9e2
commit 67526279ce

View file

@ -175,7 +175,7 @@ func (c *Connection) Run() error {
c.Server = "localhost"
p := peerdiscovery.New(peerdiscovery.Settings{
Limit: 1,
TimeLimit: 60 * time.Second,
TimeLimit: 600 * time.Second,
Delay: 500 * time.Millisecond,
Payload: []byte(c.Code),
})