summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxuchengxuan <xuchengxuan@xiaomi.com>2017-06-14 16:42:21 +0800
committerantirez <antirez@gmail.com>2017-06-20 16:56:49 +0200
commit8da9a167e08c6cb0ec1e789f322f47ff77128295 (patch)
tree3ee2a5917a2c279ba7c25aae8dd3072b6ffb13b0
parent13546adcb9cb83dd021b6f8e068d00f6b0669d20 (diff)
downloadredis-8da9a167e08c6cb0ec1e789f322f47ff77128295.tar.gz
Fixed comments of slowlog duration
-rw-r--r--src/slowlog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slowlog.h b/src/slowlog.h
index 81df0b054..6b8740e86 100644
--- a/src/slowlog.h
+++ b/src/slowlog.h
@@ -35,7 +35,7 @@ typedef struct slowlogEntry {
robj **argv;
int argc;
long long id; /* Unique entry identifier. */
- long long duration; /* Time spent by the query, in nanoseconds. */
+ long long duration; /* Time spent by the query, in microseconds. */
time_t time; /* Unix time at which the query was executed. */
} slowlogEntry;