chore(百家乐): 提高 AI 小班长强退休息的连输阈值(3次 -> 10次)
This commit is contained in:
@@ -168,8 +168,8 @@ class CloseBaccaratRoundJob implements ShouldQueue
|
||||
private function handleAiLoseStreak(): void
|
||||
{
|
||||
$streak = Redis::incr('ai_baccarat_lose_streak');
|
||||
if ($streak >= 3) {
|
||||
Redis::setex('ai_baccarat_timeout', 600, 'timeout'); // 连输三次,停赛10分钟
|
||||
if ($streak >= 10) {
|
||||
Redis::setex('ai_baccarat_timeout', 600, 'timeout'); // 连输十次,停赛10分钟
|
||||
Redis::del('ai_baccarat_lose_streak');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user