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

Aperta
#21,049 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
67/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
shell
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Shell
Stelle
22
Fork
2
Merge medio
3h 20m
PR unite (30g)
956

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di melodic-software/claude-code-plugins

Tutte le issue di melodic-software/claude-code-plugins

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.