Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
8cb8d417
Commit
8cb8d417
authored
Oct 25, 2011
by
antirez
Browse files
Lau scripts default max execution time set to 5 seconds.
parent
e8c993f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis.h
View file @
8cb8d417
...
...
@@ -209,7 +209,7 @@
#define REDIS_MAXMEMORY_NO_EVICTION 5
/* Scripting */
#define REDIS_LUA_TIME_LIMIT
60
000
/* milliseconds */
#define REDIS_LUA_TIME_LIMIT
5
000
/* milliseconds */
/* 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)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment