define const int direct

This commit is contained in:
facetosea 2023-11-08 09:19:51 +08:00
parent 0a16b75831
commit 1494c64082
1 changed files with 1 additions and 1 deletions

View File

@ -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) {