From e0405e9995e98630e69be1ea49c298470e8a86ed Mon Sep 17 00:00:00 2001 From: xiaomlove <1939737565@qq.com> Date: Fri, 15 Nov 2024 20:52:31 +0800 Subject: [PATCH] add job start log --- app/Jobs/CalculateUserSeedBonus.php | 1 + app/Jobs/UpdateTorrentSeedersEtc.php | 1 + app/Jobs/UpdateUserSeedingLeechingTime.php | 1 + 3 files changed, 3 insertions(+) diff --git a/app/Jobs/CalculateUserSeedBonus.php b/app/Jobs/CalculateUserSeedBonus.php index ddc1dd23..4d8bce1e 100644 --- a/app/Jobs/CalculateUserSeedBonus.php +++ b/app/Jobs/CalculateUserSeedBonus.php @@ -78,6 +78,7 @@ class CalculateUserSeedBonus implements ShouldQueue "[CLEANUP_CLI_CALCULATE_SEED_BONUS_HANDLE_JOB], commonRequestId: %s, beginUid: %s, endUid: %s, idStr: %s, idRedisKey: %s", $this->requestId, $this->beginUid, $this->endUid, $this->idStr, $this->idRedisKey ); + do_log("$logPrefix, job start ..."); $haremAdditionFactor = Setting::get('bonus.harem_addition'); $officialAdditionFactor = Setting::get('bonus.official_addition'); $donortimes_bonus = Setting::get('bonus.donortimes'); diff --git a/app/Jobs/UpdateTorrentSeedersEtc.php b/app/Jobs/UpdateTorrentSeedersEtc.php index a23708f0..6068bc78 100644 --- a/app/Jobs/UpdateTorrentSeedersEtc.php +++ b/app/Jobs/UpdateTorrentSeedersEtc.php @@ -78,6 +78,7 @@ class UpdateTorrentSeedersEtc implements ShouldQueue "[CLEANUP_CLI_UPDATE_TORRENT_SEEDERS_ETC_HANDLE_JOB], commonRequestId: %s, beginTorrentId: %s, endTorrentId: %s, idStr: %s, idRedisKey: %s", $this->requestId, $this->beginTorrentId, $this->endTorrentId, $this->idStr, $this->idRedisKey ); + do_log("$logPrefix, job start ..."); $idStr = $this->idStr; $delIdRedisKey = false; diff --git a/app/Jobs/UpdateUserSeedingLeechingTime.php b/app/Jobs/UpdateUserSeedingLeechingTime.php index 37d7bf0a..cc3cf5be 100644 --- a/app/Jobs/UpdateUserSeedingLeechingTime.php +++ b/app/Jobs/UpdateUserSeedingLeechingTime.php @@ -78,6 +78,7 @@ class UpdateUserSeedingLeechingTime implements ShouldQueue "[CLEANUP_CLI_UPDATE_SEEDING_LEECHING_TIME_HANDLE_JOB], commonRequestId: %s, beginUid: %s, endUid: %s, idStr: %s, idRedisKey: %s", $this->requestId, $this->beginUid, $this->endUid, $this->idStr, $this->idRedisKey, ); + do_log("$logPrefix, job start ..."); $idStr = $this->idStr; $delIdRedisKey = false;