From d8b9a8715bd6c0a241b429ca1fb9102de5aa2ef5 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 26 Jul 2018 16:50:50 +0900 Subject: [PATCH] :v: --- src/server/api/call.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api/call.ts b/src/server/api/call.ts index fc7dff42a7..1d0e858762 100644 --- a/src/server/api/call.ts +++ b/src/server/api/call.ts @@ -52,7 +52,7 @@ export default (endpoint: string, user: IUser, app: IApp, data: any, file?: any) const time = after - before; - if (time > 500) { + if (time > 1000) { console.warn(`SLOW API CALL DETECTED: ${ep.name} (${ time }ms)`); } } catch (e) {