define const int direct
This commit is contained in:
parent
0a16b75831
commit
1494c64082
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue