Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ dotnet_diagnostic.CA1848.severity = none
# Don't need to seal sample classes
dotnet_diagnostic.CA1852.severity = none

# We accept logging performance is not important in samples
dotnet_diagnostic.CA1873.severity = none

# Don't need ConfigureAwait in samples
dotnet_diagnostic.CA2007.severity = none

Expand Down
8 changes: 4 additions & 4 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Temporalio" Version="1.10.0" />
<PackageReference Include="Temporalio.Extensions.DiagnosticSource" Version="1.10.0" />
<PackageReference Include="Temporalio.Extensions.Hosting" Version="1.10.0" />
<PackageReference Include="Temporalio.Extensions.OpenTelemetry" Version="1.10.0" />
<PackageReference Include="Temporalio" Version="1.11.1" />
<PackageReference Include="Temporalio.Extensions.DiagnosticSource" Version="1.11.1" />
<PackageReference Include="Temporalio.Extensions.Hosting" Version="1.11.1" />
<PackageReference Include="Temporalio.Extensions.OpenTelemetry" Version="1.11.1" />
<!--
Can also reference the SDK downloaded to a local directory:
<ProjectReference Include="$(MSBuildThisFileDirectory)..\temporal-sdk-dotnet\src\Temporalio\Temporalio.csproj" />
Expand Down
2 changes: 1 addition & 1 deletion src/SafeMessageHandlers/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async Task ExecuteWorkflowAsync(bool testContinueAsNew)
id: "atomic-message-handlers-workflow-id",
taskQueue: "atomic-message-handlers-sample")
{
IdReusePolicy = WorkflowIdReusePolicy.TerminateIfRunning,
IdConflictPolicy = WorkflowIdConflictPolicy.TerminateExisting,
};
workflowOptions.SignalWithStart((ClusterManagerWorkflow wf) => wf.StartClusterAsync());
var handle = await client.StartWorkflowAsync(
Expand Down