Skip to content

Commit 42f7bd1

Browse files
committed
fixed typo
1 parent ab4e1b6 commit 42f7bd1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/SuperSocket.Client/ConnectState.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ private ConnectState(bool cancelled)
3333
private static Lazy<ObjectPool<SocketSender>> _socketSenderPool = new Lazy<ObjectPool<SocketSender>>(() =>
3434
{
3535
var policy = new DefaultPooledObjectPolicy<SocketSender>();
36-
var pool = new DefaultObjectPool<SocketSender>(policy, EasyClient.SocketSenderPoolSzie ?? EasyClient.DefaultSocketSenderPoolSzie);
36+
var pool = new DefaultObjectPool<SocketSender>(policy, EasyClient.SocketSenderPoolSize ?? EasyClient.DefaultSocketSenderPoolSize);
3737
return pool;
3838
});
3939

src/SuperSocket.Client/EasyClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ public abstract class EasyClient : IEasyClient
3333

3434
public CompressionLevel CompressionLevel { get; set; } = CompressionLevel.NoCompression;
3535

36-
public static int? SocketSenderPoolSzie { get; set; }
36+
public static int? SocketSenderPoolSize { get; set; }
3737

38-
internal static readonly int DefaultSocketSenderPoolSzie = 10;
38+
internal static readonly int DefaultSocketSenderPoolSize = 10;
3939

4040
protected EasyClient()
4141
: this(NullLogger.Instance)

0 commit comments

Comments
 (0)