perf: 优化挂机心跳接口,无奖励变动心跳拒绝写库save,仅在Redis保活以释放I/O压力

This commit is contained in:
pllx
2026-06-30 11:32:53 +08:00
parent 3563b45038
commit b19073cf85
2 changed files with 15 additions and 11 deletions
+5 -6
View File
@@ -432,12 +432,11 @@ class ChatControllerTest extends TestCase
$response = $this->actingAs($user)->get(route('chat.room', $room->id));
$response->assertOk();
$response->assertSee('⚠️ 警告', false);
$response->assertSee('🔇 禁言', false);
$response->assertSee('封号', false);
$response->assertDontSee('🚫 踢出', false);
$response->assertDontSee('🌐 封IP', false);
$response->assertDontSee('🧊 冻结', false);
$response->assertSee('警告', false);
$response->assertSee('禁言', false);
$response->assertSee('封号', false);
$response->assertDontSee('踢出', false);
$response->assertDontSee('封IP', false);
}
/**