From 1494c6408278331c145e93384fe6ebcbfb9a9e76 Mon Sep 17 00:00:00 2001 From: facetosea <25808407@qq.com> Date: Wed, 8 Nov 2023 09:19:51 +0800 Subject: [PATCH] define const int direct --- source/client/src/slowQueryMonitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/client/src/slowQueryMonitor.c b/source/client/src/slowQueryMonitor.c index b42f860d67..7d25cf87ca 100644 --- a/source/client/src/slowQueryMonitor.c +++ b/source/client/src/slowQueryMonitor.c @@ -23,7 +23,7 @@ const int slowQueryLabelCount = 1; const char* slowQueryLabels[] = {"cost"}; const int64_t msInSeconds = 1000; -const int64_t msInMinutes = 60 * msInSeconds; +const int64_t msInMinutes = 60 * 1000; static const char* getSlowQueryLableCostDesc(int64_t cost) { if (cost >= 30 * msInMinutes) {