Skip to content

Commit

Permalink
Test tentacle client with recommended timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeButters committed Dec 4, 2023
1 parent 055da1f commit 14ec0f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ public async Task<ClientAndTentacle> Build(CancellationToken cancellationToken)
// Server
var serverHalibutRuntimeBuilder = new HalibutRuntimeBuilder()
.WithServerCertificate(Certificates.Server)
.WithHalibutTimeoutsAndLimits(HalibutTimeoutsAndLimits.RecommendedValues())
.WithLegacyContractSupport();

if (queueFactory != null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public async Task<LegacyClientAndTentacle> Build(CancellationToken cancellationT
var serverHalibutRuntimeBuilder = new HalibutRuntimeBuilder()
.WithServerCertificate(Certificates.Server)
.WithLegacyContractSupport()
.WithHalibutTimeoutsAndLimits(HalibutTimeoutsAndLimits.RecommendedValues())
.WithLogFactory(BuildClientLogger());

var serverHalibutRuntime = serverHalibutRuntimeBuilder.Build();
Expand Down

0 comments on commit 14ec0f5

Please sign in to comment.