queue_job: support running when pgbouncer is used (share config with bus_alt_connection)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 42/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 271
- Forks
- 602
- Merge medio
- 8 d 3 h
- PR fusionados (30 d)
- 4
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de OCA/queue
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
OCA/queue#1026 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 30/100
Los mantenedores suelen responder en 1 día
-
Migration to version 20.0Abiertohelp wanted no stale work in progress
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
OCA/queue#1002 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Delaying unlink or write on a model whose method was replaced raises AttributeError at enqueue timePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
[19.0] queue_job: Jobs stay pending after the jobrunner's database connection is silently droppedPosiblemente ocupada @HoloborodkoBohdan la tomó hace 46 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 25/100
OCA/queue#984 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
cpp-best-practices/project_validator#267 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Project-N-E-K-O/N.E.K.O#3725 ·
Los mantenedores suelen responder en 1 día
-
[Bug] Sending a Telegram message chain twice duplicates mentionsPosiblemente ocupada @123XieC la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
AstrBotDevs/AstrBot#11125 ·
Los mantenedores suelen responder en 1 día
-
backend bug priority: high
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
nooriegarg/ContribIQ#73 ·
Los mantenedores suelen responder en 1 día
-
bug p3 security
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
amd/gaia#8197 · 2 comentarios ·
Los mantenedores suelen responder en 1 día