Skip to content

Commit b510944

Browse files
committed
Set bench HttpClient timeout to 4 minutes.
1 parent 884ee6a commit b510944

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SeqCli/Cli/Commands/Bench/BenchCommand.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ protected override async Task<int> Run()
123123
{
124124
var (_, apiKey) = _connectionFactory.GetConnectionDetails(_connection);
125125
var connection = _connectionFactory.Connect(_connection);
126+
connection.Client.HttpClient.Timeout = TimeSpan.FromMinutes(4);
126127
var seqVersion = (await connection.Client.GetRootAsync()).Version;
127128
await using var reportingLogger = BuildReportingLogger();
128129

0 commit comments

Comments
 (0)