feat: API replicas over HAProxy (3)

This commit is contained in:
2026-11-06 03:26:54 +03:00
parent de2f63b926
commit ec111aadfb
32 changed files with 396 additions and 147 deletions
@@ -21,9 +21,6 @@ func newStore(t *testing.T) (*postgres.Store, *pgxpool.Pool) {
if dbURL == "" {
t.Skip("TEST_DATABASE_URL is required")
}
if err := postgres.Migrate(dbURL); err != nil {
t.Fatal(err)
}
pool, err := postgres.NewPool(context.Background(), dbURL)
if err != nil {
t.Fatal(err)