summaryrefslogtreecommitdiff
path: root/src/slowlog.h
diff options
context:
space:
mode:
authorSalvatore Sanfilippo <antirez@gmail.com>2017-06-20 16:55:29 +0200
committerGitHub <noreply@github.com>2017-06-20 16:55:29 +0200
commit1d857a99d5d9bee9c5000db9af6694cc2f96c4e6 (patch)
treeaa4ea7e6d81df142bdfd026853734930eaf2425f /src/slowlog.h
parent0a03187ac495c2e0e45711954db1e54448e78a57 (diff)
parent3fc4bf07cc04dc12a91e9da682162b4d062136bf (diff)
downloadredis-1d857a99d5d9bee9c5000db9af6694cc2f96c4e6.tar.gz
Merge pull request #4056 from season89/unstable
Fixed comments of slowlog duration
Diffstat (limited to 'src/slowlog.h')
-rw-r--r--src/slowlog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slowlog.h b/src/slowlog.h
index e3781c67b..655fb25f4 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. */
sds cname; /* Client name. */
sds peerid; /* Client network address. */