From: antirez <antirez@gmail.com>
Date: Thu, 27 Oct 2011 18:56:12 +0000 (+0200)
Subject: use the more generic -BUSY error for idle scripts
X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/d8ba159b6cac421e97535fc40cfc8846d073940d

use the more generic -BUSY error for idle scripts
---

diff --git a/src/redis.c b/src/redis.c
index 32644e33..a9d44fa9 100644
--- a/src/redis.c
+++ b/src/redis.c
@@ -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("+"));