Projet

Général

Profil

Development #52266

uwsgi: utiliser spooler-max-tasks

Ajouté par Thomas Noël il y a environ 3 ans. Mis à jour il y a environ 3 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
19 mars 2021
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

et limiter à 20 requests par spooler

Révisions associées

Révision a726e09f (diff)
Ajouté par Thomas Noël il y a environ 3 ans

uwsgi: recycling spooler after 20 tasks (#52266)

Historique

#1

Mis à jour par Thomas Noël il y a environ 3 ans

  • Statut changé de Nouveau à Résolu (à déployer)
commit a726e09fe1ca7b70511758197d1707f75132659e
Author: Thomas NOËL <tnoel@entrouvert.com>
Date:   Fri Mar 19 23:55:29 2021 +0100

    uwsgi: recycling spooler after 20 tasks (#52266)

diff --git a/debian/uwsgi.ini b/debian/uwsgi.ini
index ff8f090b..f203850a 100644
--- a/debian/uwsgi.ini
+++ b/debian/uwsgi.ini
@@ -14,6 +14,8 @@ vacuum = true

 spooler-processes = 3
 spooler-python-import = passerelle.utils.spooler
+spooler-max-tasks = 20
+
 # every five minutes
 cron = -5 -1 -1 -1 -1 /usr/bin/passerelle-manage tenant_command cron --all-tenants availability
 cron = -5 -1 -1 -1 -1 /usr/bin/passerelle-manage tenant_command cron --all-tenants jobs
#2

Mis à jour par Frédéric Péters il y a environ 3 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF