diff --git a/src/Orleans.Streaming.Grains.Tests/BaseGrainTestConfig.cs b/src/Orleans.Streaming.Grains.Tests/BaseGrainTestConfig.cs index a724055..5cdfd4d 100644 --- a/src/Orleans.Streaming.Grains.Tests/BaseGrainTestConfig.cs +++ b/src/Orleans.Streaming.Grains.Tests/BaseGrainTestConfig.cs @@ -42,15 +42,6 @@ public void Configure(ISiloBuilder siloBuilder) public void Configure(IConfiguration configuration, IClientBuilder clientBuilder) { - clientBuilder.ConfigureServices(Configure) - .Configure(options => - { - options.FireAndForgetDelivery = _fireAndForget; - }) - .AddPersistentStreams("Default", GrainsQueueAdapterFactory.Create, config => config.Configure(options => - { - options.Configure(x => x.FireAndForgetDelivery = _fireAndForget); - })); } } } diff --git a/src/Orleans.Streaming.Grains/Streams/GrainsOptions.cs b/src/Orleans.Streaming.Grains/Streams/GrainsOptions.cs index 0b2eab1..2165b4c 100644 --- a/src/Orleans.Streaming.Grains/Streams/GrainsOptions.cs +++ b/src/Orleans.Streaming.Grains/Streams/GrainsOptions.cs @@ -11,7 +11,7 @@ namespace Orleans.Streaming.Grains.Streams { public class GrainsOptions { - public bool FireAndForgetDelivery { get; set; } = false; + public bool FireAndForgetDelivery { get; set; } = true; public TimeSpan Timeout { get; set; } = TimeSpan.FromSeconds(300); } diff --git a/src/nuget.dockerfile b/src/nuget.dockerfile index 1c6fa8f..3d66779 100644 --- a/src/nuget.dockerfile +++ b/src/nuget.dockerfile @@ -9,9 +9,8 @@ ADD README.md README.md ADD src/ . RUN mkdir nuget - RUN dotnet build . -c Release +RUN dotnet pack --no-restore -c Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -p:PackageVersion=${version} -o nuget/ Orleans.Streaming.Grains/Orleans.Streaming.Grains.csproj -RUN dotnet pack --no-restore -c Release -p:PackageVersion=${version} -o nuget/ Orleans.Streaming.Grains/Orleans.Streaming.Grains.csproj - -RUN dotnet nuget push -s nuget.org -k ${password} nuget/Orleans.Streaming.Grains.${version}.nupkg \ No newline at end of file +WORKDIR /home/vscode/src/nuget +RUN dotnet nuget push -s nuget.org -k ${password} Orleans.Streaming.Grains.${version}.nupkg \ No newline at end of file