Celery: Is it necessary?

オープン
#480 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
django, python, rabbitmq
領域
backend, devops

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

enhancement medium priority

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_monthly to 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
主要言語
Python
スター
0
フォーク
4
平均マージ
2日 16時間
マージ済み PR(30日)
5

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ClockGU/clock-backend のほかの issue

ClockGU/clock-backend の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。