Skip to content

Commit 59efe88

Browse files
authored
Update SDK to 1.6.0 (temporalio#98)
1 parent e1e9ea4 commit 59efe88

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Directory.Build.props

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
</PropertyGroup>
2020

2121
<ItemGroup>
22-
<PackageReference Include="Temporalio" Version="1.4.0" />
23-
<PackageReference Include="Temporalio.Extensions.DiagnosticSource" Version="1.4.0" />
24-
<PackageReference Include="Temporalio.Extensions.Hosting" Version="1.4.0" />
25-
<PackageReference Include="Temporalio.Extensions.OpenTelemetry" Version="1.4.0" />
22+
<PackageReference Include="Temporalio" Version="1.6.0" />
23+
<PackageReference Include="Temporalio.Extensions.DiagnosticSource" Version="1.6.0" />
24+
<PackageReference Include="Temporalio.Extensions.Hosting" Version="1.6.0" />
25+
<PackageReference Include="Temporalio.Extensions.OpenTelemetry" Version="1.6.0" />
2626
<!--
2727
Can also reference the SDK downloaded to a local directory:
2828
<ProjectReference Include="$(MSBuildThisFileDirectory)..\temporal-sdk-dotnet\src\Temporalio\Temporalio.csproj" />

src/SafeMessageHandlers/ClusterManagerWorkflow.workflow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ await Workflow.ExecuteActivityAsync(
172172

173173
private bool ShouldContinueAsNew =>
174174
// Don't continue as new while update running
175-
nodesLock.CurrentCount > 0 &&
175+
Workflow.AllHandlersFinished &&
176176
// Continue if suggested or, for ease of testing, max history reached
177177
(Workflow.ContinueAsNewSuggested || Workflow.CurrentHistoryLength > maxHistoryLength);
178178

0 commit comments

Comments
 (0)