Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
d8ba159b
Commit
d8ba159b
authored
Oct 27, 2011
by
antirez
Browse files
use the more generic -BUSY error for idle scripts
parent
115e3ff3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis.c
View file @
d8ba159b
...
@@ -794,7 +794,7 @@ void createSharedObjects(void) {
...
@@ -794,7 +794,7 @@ void createSharedObjects(void) {
shared
.
loadingerr
=
createObject
(
REDIS_STRING
,
sdsnew
(
shared
.
loadingerr
=
createObject
(
REDIS_STRING
,
sdsnew
(
"-LOADING Redis is loading the dataset in memory
\r\n
"
));
"-LOADING Redis is loading the dataset in memory
\r\n
"
));
shared
.
slowscripterr
=
createObject
(
REDIS_STRING
,
sdsnew
(
shared
.
slowscripterr
=
createObject
(
REDIS_STRING
,
sdsnew
(
"-
SLOWSCRIPT
Redis is busy running a script. Please wait or stop the server with SHUTDOWN.
\r\n
"
));
"-
BUSY
Redis is busy running a script. Please wait or stop the server with SHUTDOWN.
\r\n
"
));
shared
.
space
=
createObject
(
REDIS_STRING
,
sdsnew
(
" "
));
shared
.
space
=
createObject
(
REDIS_STRING
,
sdsnew
(
" "
));
shared
.
colon
=
createObject
(
REDIS_STRING
,
sdsnew
(
":"
));
shared
.
colon
=
createObject
(
REDIS_STRING
,
sdsnew
(
":"
));
shared
.
plus
=
createObject
(
REDIS_STRING
,
sdsnew
(
"+"
));
shared
.
plus
=
createObject
(
REDIS_STRING
,
sdsnew
(
"+"
));
...
...
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