diff options
Diffstat (limited to 'internal/praefect/datastore/postgres.go')
-rw-r--r-- | internal/praefect/datastore/postgres.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/praefect/datastore/postgres.go b/internal/praefect/datastore/postgres.go index 74c455010..dc393c260 100644 --- a/internal/praefect/datastore/postgres.go +++ b/internal/praefect/datastore/postgres.go @@ -24,7 +24,7 @@ type MigrationStatusRow struct { // specified in conf. This is a diagnostic for the Praefect Postgres // rollout. https://gitlab.com/gitlab-org/gitaly/issues/1755 func CheckPostgresVersion(db *sql.DB) error { - ctx, cancel := context.WithTimeout(context.Background(), 100*time.Millisecond) + ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second) defer cancel() var serverVersion int |