Skip to content

Commit 5182ab8

Browse files
author
Luke Gehorsam
committed
default autoreconnect to false
1 parent ca434f7 commit 5182ab8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Nakama/Socket.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public class Socket : ISocket
120120
/// <summary>
121121
/// A new socket with default options.
122122
/// </summary>
123-
public Socket() : this(Client.DefaultScheme, Client.DefaultHost, Client.DefaultPort, new WebSocketAdapter(), autoReconnect: true)
123+
public Socket() : this(Client.DefaultScheme, Client.DefaultHost, Client.DefaultPort, new WebSocketAdapter(), autoReconnect: false)
124124
{
125125
}
126126

@@ -129,7 +129,7 @@ public class Socket : ISocket
129129
/// </summary>
130130
/// <param name="adapter">The adapter for use with the socket.</param>
131131
public Socket(ISocketAdapter adapter) : this(Client.DefaultScheme, Client.DefaultHost, Client.DefaultPort,
132-
adapter, autoReconnect: true)
132+
adapter, autoReconnect: false)
133133
{
134134
}
135135

0 commit comments

Comments
 (0)