Skip to content

Commit bd36b7d

Browse files
committed
Minor improvements
1 parent 834ff89 commit bd36b7d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Parse/Abstractions/Infrastructure/ILiveQueryServerConnectionData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public interface ILiveQueryServerConnectionData : IServerConnectionData
1616
/// <summary>
1717
/// The default buffer size, in bytes.
1818
/// </summary>
19-
public const int DefaultBufferSize = 4096; // 4MB
19+
public const int DefaultBufferSize = 4096; // 4KB
2020

2121
/// <summary>
2222
/// The buffer size, in bytes, used for the WebSocket operations to handle incoming messages.

Parse/Platform/LiveQueries/ParseLiveQueryController.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,6 @@ public async Task ConnectAsync(CancellationToken cancellationToken = default)
380380
}
381381
finally
382382
{
383-
ConnectionSignal.Task.Dispose();
384383
ConnectionSignal = null;
385384
}
386385
}
@@ -561,7 +560,7 @@ private void Dispose(bool disposing)
561560
return;
562561
if (disposing)
563562
{
564-
CloseAsync().GetAwaiter().GetResult();
563+
CloseAsync().ConfigureAwait(false).GetAwaiter().GetResult();
565564
}
566565
disposed = true;
567566
}

0 commit comments

Comments
 (0)