EasyEngine / EasyEngine/cron-command

Reload the cron container instead of restarting it

オープン
#2 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
good first issue
主要言語
PHP
スター
4
フォーク
8
PR マージ指標
30日以内にマージされた PR はありません

説明

According to the current execution flow of `cron-command`, whenever any new cron job is added, it restarts the `easyengine/cron` container to accommodate the new changes. This can disrupt the cycle of already running cron-jobs.

For example, if a job is running every 10 minutes and had completed say 9 minutes before restart was executed, then it's time will start from zero again. Thus, the executing cron cycles could get a little affected by this.

A reloading signal or a HUP signal to refresh and accommodate the new changes is required to replace the current restart method.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

`cron-command` の現在の実行フローと、新しいジョブが追加されたときに `easyengine/cron` コンテナを再起動する箇所を追跡します。コンテナが reload または HUP シグナルをどのように処理するかを確認し、ジョブの追加によって設定が更新され、すでに実行中の cron-job サイクルがリセットされないことを検証します。

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

評価

技術スタック
docker, php
領域
devops, infrastructure
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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