Skip to content

Commit c3f9a00

Browse files
authored
Merge pull request #88 from cklutz/pr72fix
Fix for issue #87
2 parents 94b888d + bab1710 commit c3f9a00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JKang.IpcServiceFramework.Client/NamedPipe/NamedPipeIpcServiceClient.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public NamedPipeIpcServiceClient(IIpcMessageSerializer serializer, IValueConvert
2121
protected override async Task<Stream> ConnectToServerAsync(CancellationToken cancellationToken)
2222
{
2323
var stream = new NamedPipeClientStream(".", _pipeName, PipeDirection.InOut, PipeOptions.Asynchronous);
24-
await stream.ConnectAsync((int)TimeSpan.FromSeconds(3).TotalMilliseconds, cancellationToken).ConfigureAwait(false);
24+
await stream.ConnectAsync(cancellationToken).ConfigureAwait(false);
2525
return stream;
2626
}
2727
}

0 commit comments

Comments
 (0)