Добавить наблюдаемость и проверки отказов для ЛР 6

This commit is contained in:
2026-11-26 18:20:32 +03:00
parent 1d81159dd3
commit 9db37405fb
46 changed files with 7878 additions and 173 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ func Connect(ctx context.Context, cfg Config) (*pgxpool.Pool, error) {
connCtx, cancel := context.WithTimeout(ctx, cfg.ConnTimeout)
defer cancel()
pool, err := pgxpool.NewWithConfig(connCtx, poolCfg)
pool, err := NewPool(connCtx, poolCfg)
if err != nil {
return nil, fmt.Errorf("create pool: %w", err)
}