Skip to content

Commit

Permalink
Update SDK and fix flaky test
Browse files Browse the repository at this point in the history
Fixes #81
  • Loading branch information
cretz committed Aug 29, 2024
1 parent 68e2c50 commit e25cce7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
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.2.0" />
<PackageReference Include="Temporalio.Extensions.DiagnosticSource" Version="1.2.0" />
<PackageReference Include="Temporalio.Extensions.Hosting" Version="1.2.0" />
<PackageReference Include="Temporalio.Extensions.OpenTelemetry" Version="1.2.0" />
<PackageReference Include="Temporalio" Version="1.3.0" />
<PackageReference Include="Temporalio.Extensions.DiagnosticSource" Version="1.3.0" />
<PackageReference Include="Temporalio.Extensions.Hosting" Version="1.3.0" />
<PackageReference Include="Temporalio.Extensions.OpenTelemetry" Version="1.3.0" />
<!--
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/ClusterManagerWorkflow.workflow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public record Result(
public ClusterManagerWorkflow(Input input)
{
CurrentState = input.State;
maxHistoryLength = input.TestContinueAsNew ? 120 : int.MaxValue;
maxHistoryLength = input.TestContinueAsNew ? 40 : int.MaxValue;
sleepInterval = TimeSpan.FromSeconds(input.TestContinueAsNew ? 1 : 600);
}

Expand Down

0 comments on commit e25cce7

Please sign in to comment.