mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Lau scripts default max execution time set to 5 seconds.
This commit is contained in:
parent
e8c993f0fb
commit
8cb8d417b1
@ -209,7 +209,7 @@
|
|||||||
#define REDIS_MAXMEMORY_NO_EVICTION 5
|
#define REDIS_MAXMEMORY_NO_EVICTION 5
|
||||||
|
|
||||||
/* Scripting */
|
/* Scripting */
|
||||||
#define REDIS_LUA_TIME_LIMIT 60000 /* milliseconds */
|
#define REDIS_LUA_TIME_LIMIT 5000 /* milliseconds */
|
||||||
|
|
||||||
/* We can print the stacktrace, so our assert is defined this way: */
|
/* We can print the stacktrace, so our assert is defined this way: */
|
||||||
#define redisAssertWithInfo(_c,_o,_e) ((_e)?(void)0 : (_redisAssertWithInfo(_c,_o,#_e,__FILE__,__LINE__),_exit(1)))
|
#define redisAssertWithInfo(_c,_o,_e) ((_e)?(void)0 : (_redisAssertWithInfo(_c,_o,#_e,__FILE__,__LINE__),_exit(1)))
|
||||||
|
Loading…
Reference in New Issue
Block a user