提交 8cb8d417 编写于 作者: A antirez

Lau scripts default max execution time set to 5 seconds.

上级 e8c993f0
...@@ -209,7 +209,7 @@ ...@@ -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)))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册