fix(cli/server.go): switch to alternate maven repo for postgres binaries (#17451)

Not really guaranteed, but worth a shot.

---------

Co-authored-by: Danny Kopping <danny@coder.com>
This commit is contained in:
Cian Johnston
2025-04-22 09:02:35 +01:00
committed by GitHub
parent 56ee5d8f1b
commit 444bd6a212
2 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,8 @@ func main() {
embeddedpostgres.DefaultConfig().
Version(embeddedpostgres.V16).
BinariesPath(filepath.Join(postgresPath, "bin")).
// Default BinaryRepositoryURL repo1.maven.org is flaky.
BinaryRepositoryURL("https://repo.maven.apache.org/maven2").
DataPath(filepath.Join(postgresPath, "data")).
RuntimePath(filepath.Join(postgresPath, "runtime")).
CachePath(filepath.Join(postgresPath, "cache")).