Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Commit

Permalink
Increase database default command timeout. Related to #1080
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Weichhold committed Sep 19, 2022
1 parent 2f42ba0 commit d05ef0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Miningcore/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ private static void ConfigurePostgres(PostgresConfig pgConfig, ContainerBuilder
connectionString.Append($"SSL Password={pgConfig.TlsPassword};");
}

connectionString.Append($"CommandTimeout={pgConfig.CommandTimeout ?? 120};");
connectionString.Append($"CommandTimeout={pgConfig.CommandTimeout ?? 300};");

logger.Debug(()=> $"Using postgres connection string: {connectionString}");

Expand Down

0 comments on commit d05ef0d

Please sign in to comment.