Skip to content

Commit

Permalink
update package (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssnyder-intrinio authored Jan 30, 2025
1 parent 968d1be commit 416fd48
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Intrinio.Realtime/Intrinio.Realtime.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
<PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
<PackageReference Include="System.Text.Json" Version="9.0.0" />
<PackageReference Include="Intrinio.Collections" Version="1.0.2" />
<PackageReference Include="Intrinio.Collections" Version="1.3.0" />
</ItemGroup>

</Project>
8 changes: 4 additions & 4 deletions Intrinio.Realtime/WebSocketClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public abstract class WebSocketClient
private readonly Func<Task> _tryReconnect;
private readonly HttpClient _httpClient = new ();
private const string ClientInfoHeaderKey = "Client-Information";
private const string ClientInfoHeaderValue = "IntrinioDotNetSDKv12.7";
private const string ClientInfoHeaderValue = "IntrinioDotNetSDKv12.8";
private readonly ThreadPriority _mainThreadPriority;
private readonly Thread[] _threads;
private Thread? _receiveThread;
Expand Down Expand Up @@ -308,8 +308,8 @@ private void ReceiveFn()
if (result.Count > 0)
{
Interlocked.Increment(ref _dataMsgCount);
if (!_data.TryEnqueue(in bufferSpan))
_overflowData.TryEnqueue(in bufferSpan);
if (!_data.TryEnqueue(bufferSpan))
_overflowData.TryEnqueue(bufferSpan);
}
break;
case WebSocketMessageType.Text:
Expand Down Expand Up @@ -364,7 +364,7 @@ private void ProcessFn()
{
try
{
if (_data.TryDequeue(in datum) || _overflowData.TryDequeue(in datum))
if (_data.TryDequeue(datum) || _overflowData.TryDequeue(datum))
{
// These are grouped (many) messages.
// The first byte tells us how many messages there are.
Expand Down
4 changes: 2 additions & 2 deletions IntrinioRealTimeClient.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<package>
<metadata>
<id>IntrinioRealTimeClient</id>
<version>12.7.0</version>
<version>12.8.0</version>
<title>Intrinio SDK for Real-Time Stock and Option Prices</title>
<authors>Intrinio</authors>
<owners>Intrinio</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<licenseUrl>https://licenses.nuget.org/MIT</licenseUrl>
<projectUrl>https://github.com/intrinio/intrinio-realtime-csharp-sdk</projectUrl>
<description>Intrinio provides real-time stock and option prices via a two-way WebSocket connection.</description>
<releaseNotes>Version 12.7.0 release.</releaseNotes>
<releaseNotes>Version 12.8.0 release.</releaseNotes>
<copyright>Copyright 2024 Intrinio</copyright>
<tags>fintech stocks options prices websocket real-time market finance</tags>
<dependencies>
Expand Down

0 comments on commit 416fd48

Please sign in to comment.