Handle invalid AK protection and tune local PHP-FPM

This commit is contained in:
kk K
2026-04-18 23:43:57 +08:00
parent e8160cb967
commit 7553d28708
6 changed files with 165 additions and 16 deletions

View File

@@ -210,6 +210,9 @@ class Database
$this->ensureColumn('accounts', 'health_status', "TEXT DEFAULT 'Unknown'");
$this->ensureColumn('accounts', 'traffic_api_status', "TEXT DEFAULT 'ok'");
$this->ensureColumn('accounts', 'traffic_api_message', "TEXT DEFAULT ''");
$this->ensureColumn('accounts', 'protection_suspended', 'INTEGER DEFAULT 0');
$this->ensureColumn('accounts', 'protection_suspend_reason', "TEXT DEFAULT ''");
$this->ensureColumn('accounts', 'protection_suspend_notified_at', 'INTEGER DEFAULT 0');
$this->ensureColumn('ecs_create_tasks', 'public_ip_mode', "TEXT DEFAULT 'ecs_public_ip'");
$this->ensureColumn('ecs_create_tasks', 'eip_allocation_id', "TEXT DEFAULT ''");
$this->ensureColumn('ecs_create_tasks', 'eip_address', "TEXT DEFAULT ''");