Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Name the pool settings dbkit/postgres refuses by an app's own setting

Đang mở
#91 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go, postgresql
Lĩnh vực
database

Hướng nghiên cứu

Start in the dbkit/postgres package at Open, where pool_max_conns, pool_min_conns and pool_min_idle_conns are refused with a message that names Options.MaxConns. Find where the pool settings are read from the address and add a check for pool_max_conn_idle_time, one of the eight pgx 5.11 pool settings. Done when an address with each refused key returns an error naming the key the app's user sees, that error is exported, and idle time is validated.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement help wanted

What

  • dbkit/postgres Open refuses pool_max_conns, pool_min_conns and pool_min_idle_conns with a message that names Options.MaxConns, a Go option the person editing the address never sees. Export the error, or the key it found, so an app can name its own setting instead.
  • Open does not check pool_max_conn_idle_time, one of the eight pool settings pgx 5.11 reads from an address.

Why

An app that sizes the pool from its own setting cannot point people to that setting today, and one pool setting slips past the checks.

Ngôn ngữ chính
Go
Star
69
Fork
3
Merge trung bình
9 giờ 11 phút
Pull request đã merge (30 ngày)
38

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của gopherium/framework

Tất cả issue của gopherium/framework

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.