Skip to content

Commit

Permalink
fix: use UtcDateTime to deadline
Browse files Browse the repository at this point in the history
  • Loading branch information
pogromistik committed Aug 14, 2024
1 parent b88addb commit 821da4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sitko.Core.Grpc.Client/GrpcClientModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public override void ConfigureServices(IApplicationContext applicationContext, I
{
context.CallOptions = context.CallOptions.WithDeadline(provider.GetRequiredService<TimeProvider>()
.GetUtcNow()
.Add(startupOptions.DefaultDeadline.Value).DateTime);
.Add(startupOptions.DefaultDeadline.Value).UtcDateTime);
}
});
});
Expand Down

0 comments on commit 821da4d

Please sign in to comment.