projects
/
redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeffcf3
)
call the Lua hook with minor frequency. It is already enough to call it every 100000...
author
antirez
<antirez@gmail.com>
Fri, 6 May 2011 15:25:19 +0000
(17:25 +0200)
committer
antirez
<antirez@gmail.com>
Wed, 25 May 2011 10:32:48 +0000
(12:32 +0200)
src/scripting.c
patch
|
blob
|
blame
|
history
diff --git
a/src/scripting.c
b/src/scripting.c
index b4297e602670a156f69865d5d11050668f68b161..7d22265146c1c4644cfb5388028a06e3219f84bc 100644
(file)
--- a/
src/scripting.c
+++ b/
src/scripting.c
@@
-227,7
+227,7
@@
void scriptingInit(void) {
/* Set an hook in order to be able to stop the script execution if it
* is running for too much time. */
- lua_sethook(lua,luaMaskCountHook,LUA_MASKCOUNT,10000);
+ lua_sethook(lua,luaMaskCountHook,LUA_MASKCOUNT,10000
0
);
server.lua = lua;
}