From 6e5ccde83733161a371fcacff02abd50efcf51df Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 3 Aug 2023 17:53:58 +0800 Subject: [PATCH] 1 --- webapp/controller/DailySelectionController.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/controller/DailySelectionController.class.php b/webapp/controller/DailySelectionController.class.php index 1739a783..1c2020e6 100644 --- a/webapp/controller/DailySelectionController.class.php +++ b/webapp/controller/DailySelectionController.class.php @@ -269,6 +269,7 @@ class DailySelectionController extends BaseAuthedController { private function save() { $remainSec = 3600 * 24 - (myself()->_getNowTime() - myself()->_getNowDaySeconds()); + $remainSec = $remainSec + rand() % (3600 * 3); $remainSec = max(0, $remainSec); myself()->_getSelfRedis()->set( $this->getRedisKey(),