Skip to content

Commit

Permalink
Update to latest System.Threading.Channels (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz authored Nov 8, 2024
1 parent db36a56 commit a1e34df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/playground/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
var ctxs = new CancellationTokenSource();
var parallelOpts = new ParallelOptions { MaxDegreeOfParallelism = Environment.ProcessorCount, CancellationToken = ctxs.Token };
const int numDocs = 1_000_000;
var bufferOptions = new BufferOptions { InboundBufferMaxSize = 1000, OutboundBufferMaxSize = 100, ExportMaxConcurrency = 1, BoundedChannelFullMode = BoundedChannelFullMode.Wait };
var bufferOptions = new BufferOptions { BoundedChannelFullMode = BoundedChannelFullMode.Wait };
var config = new EphemeralClusterConfiguration("8.13.0");
using var cluster = new EphemeralCluster(config);
using var channel = SetupElasticsearchChannel();
Expand Down
2 changes: 1 addition & 1 deletion src/Elastic.Channels/Elastic.Channels.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Threading.Channels" Version="4.7.1" />
<PackageReference Include="System.Threading.Channels" Version="8.0.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<ItemGroup>
<ProjectReference Include="..\Elastic.Channels\Elastic.Channels.csproj" />
<PackageReference Include="Elastic.Transport" Version="0.4.18" />
<PackageReference Include="System.Threading.Channels" Version="4.7.1" />
<PackageReference Include="System.Threading.Channels" Version="8.0.0" />
</ItemGroup>

</Project>

0 comments on commit a1e34df

Please sign in to comment.