mirror of
https://github.com/syumai/workers.git
synced 2025-03-10 17:29:11 +00:00
big default
This commit is contained in:
parent
7f7e1adcd7
commit
1afb95b9a3
@ -51,6 +51,7 @@ func (d *Dialer) Dial(ctx context.Context, network, addr string) (net.Conn, erro
|
||||
sock.socket = d.connect.Invoke(addr, optionsObj)
|
||||
sock.options = d.opts
|
||||
sock.ctx, sock.cn = context.WithCancel(ctx)
|
||||
sock.SetDeadline(time.Now().Add(999999 * time.Hour))
|
||||
sock.init(d.ctx)
|
||||
return sock, nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user