mirror of https://github.com/hykilpikonna/AquaDX
[O] Do not log GetUserPortraitApi
parent
d8022cc1a4
commit
a1b56f6e0b
|
@ -363,7 +363,7 @@ class Maimai2ServletController(
|
|||
return try {
|
||||
Metrics.timer("aquadx_maimai2_api_latency", "api" to api).recordCallable {
|
||||
handlers[api]!!.handle(request).let { if (it is String) it else it.toJson() }.also {
|
||||
if (api !in setOf("GetUserItemApi", "GetGameEventApi"))
|
||||
if (api !in setOf("GetUserItemApi", "GetGameEventApi", "GetUserPortraitApi"))
|
||||
logger.info("Mai2 > $api : $it")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue