Skip to content

Commit

Permalink
Merge branch 'lua' of https://github.com/KarthikSubbarao/Valkey into lua
Browse files Browse the repository at this point in the history
Signed-off-by: KarthikSubbarao <[email protected]>
  • Loading branch information
KarthikSubbarao committed Jun 21, 2024
2 parents 3c243ee + a03333b commit 25cac59
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/server.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 25cac59

Please sign in to comment.