queue_job: support running when pgbouncer is used (share config with bus_alt_connection)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 42/100
Direzione di ricerca
The runner's LISTEN cursor is the place to start; find where queue_job opens its listening connection and compare with how bus_alt_connection picks alternative connection parameters from settings or environment variables. The issue does not name exact files, so confirm the entry point first. Done when the runner can use the alternative connection for LISTEN when the configuration is present and falls back otherwise.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The module bus_alt_connection (in OCA/server-tools) allows using different connection parameters in the bus addon to issue the LISTEN imbus SQL request. This allows configuring pgbouncer in transaction mode to pool connections to the database server, lowering the number of connections to the db, and therefore allowing to tune postgresql more aggressively.
The queue_job runner also uses LISTEN and would benefit from sharing the configuration done for bus_alt_connection: if the settings / environment variables are available, then use the alternative connection to get the cursor that will LISTEN.
- Lingua principale
- Python
- Stelle
- 271
- Fork
- 602
- Merge medio
- 8g 3h
- PR unite (30g)
- 4
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OCA/queue
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 30/100
I maintainer di solito rispondono entro 1 giorno
-
Migration to version 20.0Apertahelp wanted no stale work in progress
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
Delaying unlink or write on a model whose method was replaced raises AttributeError at enqueue timeForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
[19.0] queue_job: Jobs stay pending after the jobrunner's database connection is silently droppedForse già presa @HoloborodkoBohdan l’ha presa 46 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
OCA/queue#984 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
cpp-best-practices/project_validator#267 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Project-N-E-K-O/N.E.K.O#3725 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] Sending a Telegram message chain twice duplicates mentionsForse già presa @123XieC l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
AstrBotDevs/AstrBot#11125 ·
I maintainer di solito rispondono entro 1 giorno
-
backend bug priority: high
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
nooriegarg/ContribIQ#73 ·
I maintainer di solito rispondono entro 1 giorno
-
bug p3 security
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno