From 7927c3b38a514a82eb9396669f7b66ced8b1a0b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Kondratiuk?= Date: Tue, 20 Oct 2020 10:07:04 -0300 Subject: [PATCH] fix(connection): remove timeout from connection tasks (#957) closes #952 --- src/PlaywrightSharp/Transport/Connection.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PlaywrightSharp/Transport/Connection.cs b/src/PlaywrightSharp/Transport/Connection.cs index 422988628d..53f1515995 100644 --- a/src/PlaywrightSharp/Transport/Connection.cs +++ b/src/PlaywrightSharp/Transport/Connection.cs @@ -225,7 +225,7 @@ await _queue.Enqueue(() => return _transport.SendAsync(messageString); }).ConfigureAwait(false); - var result = await tcs.Task.WithTimeout(Playwright.DefaultTimeout).ConfigureAwait(false); + var result = await tcs.Task.ConfigureAwait(false); if (typeof(T) == typeof(JsonElement?)) {