Skip to content

Commit

Permalink
fix: convert timeout to long to align with Zeebe gateway protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
LennartKleymann committed May 26, 2024
1 parent 2bf0491 commit 0b294e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Client/Impl/Commands/UpdateJobTimeoutCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public UpdateJobTimeoutCommand(Gateway.GatewayClient client, IAsyncRetryStrategy

public IUpdateJobTimeoutCommandStep2 Timeout(TimeSpan timeout)
{
request.Timeout = Convert.ToInt32(timeout.TotalMilliseconds);
request.Timeout = (long)timeout.TotalMilliseconds;
return this;
}

Expand Down

0 comments on commit 0b294e0

Please sign in to comment.