diff --git a/src/server.h b/src/server.h index 227d9d714b..e510a17e07 100644 --- a/src/server.h +++ b/src/server.h @@ -2619,6 +2619,11 @@ void dictVanillaFree(dict *d, void *val); custom LUA errors, we track the error under the symbol below. */ #define LUA_ERRORSTATS_OVERFLOW_ERR "LUA_ERRORSTATS_OVERFLOW" +/* ERROR STATS constants */ +#define ERROR_STATS_LUA_LIMIT 128 /* After the errors RAX reaches this limit, instead of tracking + custom LUA errors, we track the error under the symbol below. */ +#define LUA_ERRORSTATS_OVERFLOW_ERR "LUA_ERRORSTATS_OVERFLOW" + /* afterErrorReply flags */ #define ERR_REPLY_FLAG_NO_STATS_UPDATE (1ULL<<0) /* Indicating that we should not update error stats after sending error reply */