diff --git a/internal/datastore/postgres/postgres.go b/internal/datastore/postgres/postgres.go index 81648075fc..1f37789521 100644 --- a/internal/datastore/postgres/postgres.go +++ b/internal/datastore/postgres/postgres.go @@ -224,7 +224,7 @@ func newPostgresDatastore( Msg("postgres configured to use intermediate migration phase") } - initializationContext, cancelInit := context.WithTimeout(context.Background(), 5*time.Second) + initializationContext, cancelInit := context.WithTimeout(context.Background(), 30*time.Second) defer cancelInit() readPool, err := pgxpool.NewWithConfig(initializationContext, readPoolConfig)