1
This commit is contained in:
parent
54421391fb
commit
6e5ccde837
@ -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(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user