X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/daa70b179888121b92554103817443ad0ef32cd8..8520066d7b4782adaf9caa56036071ddb3de86fc:/src/slowlog.h diff --git a/src/slowlog.h b/src/slowlog.h index 45a50055..bcc961cc 100644 --- a/src/slowlog.h +++ b/src/slowlog.h @@ -1,7 +1,11 @@ +#define SLOWLOG_ENTRY_MAX_ARGC 32 +#define SLOWLOG_ENTRY_MAX_STRING 128 + /* This structure defines an entry inside the slow log list */ typedef struct slowlogEntry { robj **argv; int argc; + long long id; /* Unique entry identifier. */ long long duration; /* Time spent by the query, in nanoseconds. */ time_t time; /* Unix time at which the query was executed. */ } slowlogEntry;