From ef85d5ad6782da1e8b82d234d92e31e7de8b4ad7 Mon Sep 17 00:00:00 2001 From: lukejyhuang Date: Sat, 12 Oct 2019 15:38:07 +0800 Subject: [PATCH] add slowquerywarning detail --- src/utils/dbRequest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/dbRequest.js b/src/utils/dbRequest.js index 64f21ba..32beff3 100644 --- a/src/utils/dbRequest.js +++ b/src/utils/dbRequest.js @@ -30,7 +30,7 @@ class Request { const slowQueryWarning = setTimeout(() => { console.warn( - 'Database operation is longer than 3s. Please check query performance and your network environment.' + `Database operation ${api} islonger than 3s. Please check query performance and your network environment.` ) }, 3000)