mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
change timelimit
This commit is contained in:
parent
7cea7ea9e2
commit
67526279ce
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ func (c *Connection) Run() error {
|
||||||
c.Server = "localhost"
|
c.Server = "localhost"
|
||||||
p := peerdiscovery.New(peerdiscovery.Settings{
|
p := peerdiscovery.New(peerdiscovery.Settings{
|
||||||
Limit: 1,
|
Limit: 1,
|
||||||
TimeLimit: 60 * time.Second,
|
TimeLimit: 600 * time.Second,
|
||||||
Delay: 500 * time.Millisecond,
|
Delay: 500 * time.Millisecond,
|
||||||
Payload: []byte(c.Code),
|
Payload: []byte(c.Code),
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue