Celery: Is it necessary?
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start by locating the create_reports_monthly task, its tests, and the worker and beat entries in Procfile and app.json. Read how monthly reports are created and how the existing tests exercise that task, then check the project’s Django management command patterns. Done means the task and tests are refactored, Celery and RabbitMQ dependencies are removed, and a Dokku cron job runs the command at 01:00 UTC on the first of each month.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The current project defines a celerey worker and a beat process in the Procfile and the app.json just to run the motnhly report creation
task.
I realized that this is overkill.
- Remove celery and rabbmitmq dependencies
- Refactor the
create_reports_monthlyto become a django management command - Refactor it's tests
- Use a dokku cron job to run the management command on every first of the month at 1 o'clock UTC
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 4
- Merge medio
- 2g 16h
- PR unite (30g)
- 5
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna 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 ClockGU/clock-backend
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ClockGU/clock-backend#487 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ClockGU/clock-backend#486 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
ClockGU/clock-backend#467 ·
-
Contract: Verlängerung nach dem AblaufForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
ClockGU/clock-backend#485 ·
-
Faq: Supervisor RubrikForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
ClockGU/clock-backend#484 ·
Tutte le issue di ClockGU/clock-backend
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
bug (unverified)
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
scikit-hep/awkward#4581 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
ci-cd priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
LearningCircuit/local-deep-research#9163 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Specifically suppress IsEnoughWorkspace, instead of all MIopen warnings in denoiser/config.pyAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
supersonic-lumina/ENM156#50 ·
I maintainer di solito rispondono entro 2 giorni