summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxuchengxuan <xuchengxuan@xiaomi.com>2017-06-14 16:42:21 +0800
committerxuchengxuan <xuchengxuan@xiaomi.com>2017-06-14 16:42:21 +0800
commit3fc4bf07cc04dc12a91e9da682162b4d062136bf (patch)
treed0bac1d7e55c063a888ae091fed208077d0aecfc
parentd3b32ca48d083c86ff0c20691cb790f80d5935c2 (diff)
downloadredis-3fc4bf07cc04dc12a91e9da682162b4d062136bf.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;