diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-02-09 20:10:40 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-02-09 20:10:40 +0800 |
commit | df75dbfd6804923b1c8a8388b67523072d59f155 (patch) | |
tree | 5191e9a8004499727a42336be1f092bc04943ae8 /rpc/ipc_windows.go | |
parent | 900e124beea551ded290f61e7bf85ff6b2e4a29e (diff) | |
download | dexon-df75dbfd6804923b1c8a8388b67523072d59f155.tar dexon-df75dbfd6804923b1c8a8388b67523072d59f155.tar.gz dexon-df75dbfd6804923b1c8a8388b67523072d59f155.tar.bz2 dexon-df75dbfd6804923b1c8a8388b67523072d59f155.tar.lz dexon-df75dbfd6804923b1c8a8388b67523072d59f155.tar.xz dexon-df75dbfd6804923b1c8a8388b67523072d59f155.tar.zst dexon-df75dbfd6804923b1c8a8388b67523072d59f155.zip |
cmd, node, rpc: readd inproc RPC client, expose via node
Diffstat (limited to 'rpc/ipc_windows.go')
-rw-r--r-- | rpc/ipc_windows.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/rpc/ipc_windows.go b/rpc/ipc_windows.go index 09b01974e..1d4672ad2 100644 --- a/rpc/ipc_windows.go +++ b/rpc/ipc_windows.go @@ -239,9 +239,6 @@ func Dial(address string) (*PipeConn, error) { for { conn, err := dial(address, nmpwait_wait_forever) if err == nil { - // Ugly hack working around some async connectivity issues - time.Sleep(100 * time.Millisecond) - return conn, nil } if isPipeNotReady(err) { @@ -363,9 +360,6 @@ func Listen(address string) (*PipeListener, error) { if err != nil { return nil, err } - // Ugly hack working around some async connectivity issues - time.Sleep(100 * time.Millisecond) - return &PipeListener{ addr: PipeAddr(address), handle: handle, |