Cap sql-server concurrent queries per environment, not only per process

Đang mở
#21,049 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
67/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
shell
Lĩnh vực
backend

Hướng nghiên cứu

Start by reading the session pool registry and config schema under plugins/sql-server, then find the existing limits.maxInFlightPerHost handling and its unit tests. Add coverage for per-environment or per-host overrides, including independent caps across two environments, and update the schema and README. Done means the override behavior and both requested concurrency cases are covered by tests and the key is documented.

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

Mô tả

User story

As an operator with environments of different capacity behind one registration, I want the in-flight query cap set per environment or per host, so a constrained server (for example one reached through a tunnel) keeps a lower cap than the rest. limits.maxInFlightPerHost is process-wide today, so one value applies to every environment.

Acceptance criteria

  • A per-environment or per-host in-flight cap overrides the process-wide value (unit test).
  • A call past an environment's own cap waits or fails with busy while another environment still runs (unit test).
  • The schema and README document the key.

Affected area / component

plugins/sql-server: session pool registry and config schema

Ngôn ngữ chính
Shell
Star
22
Fork
2
Merge trung bình
3 giờ 20 phút
Pull request đã merge (30 ngày)
956

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

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 melodic-software/claude-code-plugins

Tất cả issue của melodic-software/claude-code-plugins

Issue tương tự

Thêm issue về Shell/Bash

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.