Added an unique ID field to every slow log entry.

This commit is contained in:
antirez
2011-06-30 17:36:15 +02:00
parent de32c37c06
commit 2cb6828480
3 changed files with 6 additions and 1 deletions

View File

@ -528,6 +528,7 @@ struct redisServer {
size_t stat_peak_memory; /* max used memory record */
long long stat_fork_time; /* time needed to perform latets fork() */
list *slowlog;
long long slowlog_entry_id;
long long slowlog_log_slower_than;
unsigned long slowlog_max_len;
/* Configuration */