Projet

Général

Profil

Development #52265

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é à:
-
Catégorie:
-
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 443c3c46 (diff)
Ajouté par Thomas Noël il y a environ 3 ans

uwsgi: recycling spooler after 20 tasks (#52265)

Historique

#1

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

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

    uwsgi: recycling spooler after 20 tasks (#52265)

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

 spooler-processes = 3
 spooler-python-import = chrono.utils.spooler
+spooler-max-tasks = 20
+
 # every five minutes
 cron = -5 -1 -1 -1 -1 /usr/bin/chrono-manage tenant_command cancel_events --all-tenants -v0
 cron = -5 -1 -1 -1 -1 /usr/bin/chrono-manage tenant_command send_email_notifications --all-tenants -v0
#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