Include statistics service in testbox controls

This commit is contained in:
zhx 2026-06-04 21:26:50 +08:00
parent 55f0a9b4a4
commit 3d67678c20
3 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,7 @@ const hyappTestbox = {
}; };
const hyappTestboxConfigServices = const hyappTestboxConfigServices =
process.env.HYAPP_TESTBOX_CONFIG_SERVICES || process.env.HYAPP_TESTBOX_CONFIG_SERVICES ||
"gateway-service,room-service,wallet-service,user-service,activity-service,cron-service,game-service,notice-service,admin-server"; "gateway-service,room-service,wallet-service,user-service,activity-service,cron-service,game-service,notice-service,statistics-service,admin-server";
const platformInventoryPath = resolve( const platformInventoryPath = resolve(
process.env.DEPLOY_PLATFORM_INVENTORY || join(deployDir, "tencent_tat", "inventory.prod.example.json"), process.env.DEPLOY_PLATFORM_INVENTORY || join(deployDir, "tencent_tat", "inventory.prod.example.json"),
); );

View File

@ -24,6 +24,7 @@ DEFAULT_SERVICES = (
"cron-service", "cron-service",
"game-service", "game-service",
"notice-service", "notice-service",
"statistics-service",
"admin-server", "admin-server",
) )
SERVICE_NAME_RE = re.compile(r"^[a-z0-9][a-z0-9-]*$") SERVICE_NAME_RE = re.compile(r"^[a-z0-9][a-z0-9-]*$")

View File

@ -44,6 +44,7 @@ const TESTBOX_SERVICES = [
"cron-service", "cron-service",
"game-service", "game-service",
"notice-service", "notice-service",
"statistics-service",
"admin-server", "admin-server",
] as const; ] as const;