Merge pull request #6637 from andygua/add-missed-macro

Added the missed macro definition in slowlog.h
This commit is contained in:
Salvatore Sanfilippo 2019-12-02 08:51:05 +01:00 committed by GitHub
commit 731f10225b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,9 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef __SLOWLOG_H__
#define __SLOWLOG_H__
#define SLOWLOG_ENTRY_MAX_ARGC 32
#define SLOWLOG_ENTRY_MAX_STRING 128
@ -47,3 +50,5 @@ void slowlogPushEntryIfNeeded(client *c, robj **argv, int argc, long long durati
/* Exported commands */
void slowlogCommand(client *c);
#endif /* __SLOWLOG_H__ */