use the more generic -BUSY error for idle scripts

This commit is contained in:
antirez 2011-10-27 20:56:12 +02:00
parent 115e3ff39e
commit d8ba159b6c

View File

@ -794,7 +794,7 @@ void createSharedObjects(void) {
shared.loadingerr = createObject(REDIS_STRING,sdsnew(
"-LOADING Redis is loading the dataset in memory\r\n"));
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.colon = createObject(REDIS_STRING,sdsnew(":"));
shared.plus = createObject(REDIS_STRING,sdsnew("+"));