Skip to content

Commit 87a4222

Browse files
committed
fix: Increasing new websocket client's heartbeat timeout.
1 parent 01a1366 commit 87a4222

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/DarkId.Papyrus.DebugAdapterProxy/Program.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ static int Main(string[] args)
8080
}
8181
catch (Exception e)
8282
{
83-
logger.LogError(e, "Exception thrown during startup.");
83+
logger.LogError(e, "Exception thrown.");
8484
exitCode = 1;
8585
}
8686
})
@@ -150,6 +150,7 @@ static int RunWithSources(Dictionary<ObjectIdentifier, string> sources, int port
150150
var textWriter = new StringWriter();
151151

152152
var client = new WebSocket(string.Format("ws://localhost:{0}", port));
153+
client.WaitTime = TimeSpan.FromMinutes(1);
153154

154155
client.OnError += (s, e) =>
155156
{

0 commit comments

Comments
 (0)