Development #50723
Import d'exceptions, refresh, replace en asynchrone
Début:
01 février 2021
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Passer ça en asynchrone:
- import de fichier ou d'url: stocker la donnée (url, file), lancer un refresh asynchrone
- refresh d'une url: lancer en asynchrone
- replace d'un file: stocker le fichier, lancer un refresh en asynchrone
- enable/disable from settings: lancer en asynchrone
Dépend de #50018
Impacts sur #48924: opérations sur les autres desks de l'agenda à lancer en asynchrone
Fichiers
Demandes liées
Révisions associées
agendas: move exception refresh logic (#50723)
agendas: refreshing a source is now asynchronous (#50723)
agendas: enable a source is now asynchronous (#50723)
Historique
Mis à jour par Lauréline Guérin il y a environ 3 ans
- Lié à Development #50018: utiliser le spooler uwsgi pour l'exécution des jobs ajouté
Mis à jour par Lauréline Guérin il y a environ 3 ans
- Lié à Development #48924: gestion simple des guichets ajouté
Mis à jour par Lauréline Guérin il y a environ 3 ans
- Sujet changé de Import d'exceptions, refresh, replace à Import d'exceptions, refresh, replace en asynchrone
Mis à jour par Lauréline Guérin il y a environ 3 ans
- Fichier 0004-agendas-enable-a-source-is-now-asynchronous-50723.patch 0004-agendas-enable-a-source-is-now-asynchronous-50723.patch ajouté
- Fichier 0003-agendas-refreshing-a-source-is-now-asynchronous-5072.patch 0003-agendas-refreshing-a-source-is-now-asynchronous-5072.patch ajouté
- Fichier 0002-agendas-move-exception-refresh-logic-50723.patch 0002-agendas-move-exception-refresh-logic-50723.patch ajouté
- Fichier 0001-misc-add-uwsgi-spooler-50723.patch 0001-misc-add-uwsgi-spooler-50723.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Lauréline Guérin il y a environ 3 ans
pour info je lance l'app comme ça:
CHRONO_SETTINGS_FILE=/home/<user>/.config/publik/settings/chrono/settings.py uwsgi --chdir . --module=chrono.wsgi:application --env DJANGO_SETTINGS_MODULE=chrono.settings --master --process 3 --pidfile=/tmp/project-master.pid --http=127.0.0.1:8040 --spooler-python-import=chrono.utils.spooler --spooler /var/lib/chrono/spooler/
Mis à jour par Frédéric Péters il y a environ 3 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Lauréline Guérin il y a environ 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit be881d997ab06e7dcb249eba0bc27050b5c3cd4f Author: Lauréline Guérin <zebuline@entrouvert.com> Date: Tue Feb 9 14:59:27 2021 +0100 agendas: enable a source is now asynchronous (#50723) commit e8d2d73ab7b5b1a54c67bcfbe0469f84e509279e Author: Lauréline Guérin <zebuline@entrouvert.com> Date: Tue Feb 9 14:06:43 2021 +0100 agendas: refreshing a source is now asynchronous (#50723) commit 2f72bd82878d2b33e40cf5b6c901268efac3fdc3 Author: Lauréline Guérin <zebuline@entrouvert.com> Date: Tue Feb 9 11:35:38 2021 +0100 agendas: move exception refresh logic (#50723) commit cd5d93ca52c5d915ce6b9d35c193b6d358ecc6e8 Author: Lauréline Guérin <zebuline@entrouvert.com> Date: Tue Feb 9 10:07:52 2021 +0100 misc: add uwsgi spooler (#50723)
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
misc: add uwsgi spooler (#50723)