We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Whenever I try to create a queue I get the error ReplyError: ERR unknown command 'time'
ReplyError: ERR unknown command 'time' at parseError (C:\Users\User\Documents\Uche Ubani Dev\example-message-queue\node_modules\redis\node_modules\redis-parser\lib\parser.js:193:12) at parseType (C:\Users\User\Documents\Uche Ubani Dev\example-message-queue\node_modules\redis\node_modules\redis-parser\lib\parser.js:303:14) { command: 'TIME', code: 'ERR' } ReplyError: ERR unknown command 'script' at parseError (C:\Users\User\Documents\Uche Ubani Dev\example-message-queue\node_modules\redis\node_modules\redis-parser\lib\parser.js:193:12) at parseType (C:\Users\User\Documents\Uche Ubani Dev\example-message-queue\node_modules\redis\node_modules\redis-parser\lib\parser.js:303:14) { command: 'SCRIPT', args: [ 'load', 'local msg = redis.call("ZRANGEBYSCORE", KEYS[1], "-inf", KEYS[2], "LIMIT", "0", "1")\n' + '\t\t\tif #msg == 0 then\n' + '\t\t\t\treturn {}\n' + '\t\t\tend\n' + '\t\t\tredis.call("HINCRBY", KEYS[1] .. ":Q", "totalrecv", 1)\n' + '\t\t\tlocal mbody = redis.call("HGET", KEYS[1] .. ":Q", msg[1])\n' + '\t\t\tlocal rc = redis.call("HINCRBY", KEYS[1] .. ":Q", msg[1] .. ":rc", 1)\n' + '\t\t\tlocal o = {msg[1], mbody, rc}\n' + '\t\t\tif rc==1 then\n' + '\t\t\t\ttable.insert(o, KEYS[2])\n' + '\t\t\telse\n' + '\t\t\t\tlocal fr = redis.call("HGET", KEYS[1] .. ":Q", msg[1] .. ":fr")\n' + '\t\t\t\ttable.insert(o, fr)\n' + '\t\t\tend\n' + '\t\t\tredis.call("ZREM", KEYS[1], msg[1])\n' + '\t\t\tredis.call("HDEL", KEYS[1] .. ":Q", msg[1], msg[1] .. ":rc", msg[1] .. ":fr")\n' + '\t\t\treturn o' ], code: 'ERR' } ReplyError: ERR unknown command 'script' at parseError (C:\Users\User\Documents\Uche Ubani Dev\example-message-queue\node_modules\redis\node_modules\redis-parser\lib\parser.js:193:12) at parseType (C:\Users\User\Documents\Uche Ubani Dev\example-message-queue\node_modules\redis\node_modules\redis-parser\lib\parser.js:303:14) { command: 'SCRIPT', args: [ 'load', 'local msg = redis.call("ZRANGEBYSCORE", KEYS[1], "-inf", KEYS[2], "LIMIT", "0", "1")\n' + '\t\t\tif #msg == 0 then\n' + '\t\t\t\treturn {}\n' + '\t\t\tend\n' + '\t\t\tredis.call("ZADD", KEYS[1], KEYS[3], msg[1])\n' + '\t\t\tredis.call("HINCRBY", KEYS[1] .. ":Q", "totalrecv", 1)\n' + '\t\t\tlocal mbody = redis.call("HGET", KEYS[1] .. ":Q", msg[1])\n' + '\t\t\tlocal rc = redis.call("HINCRBY", KEYS[1] .. ":Q", msg[1] .. ":rc", 1)\n' + '\t\t\tlocal o = {msg[1], mbody, rc}\n' + '\t\t\tif rc==1 then\n' + '\t\t\t\tredis.call("HSET", KEYS[1] .. ":Q", msg[1] .. ":fr", KEYS[2])\n' + '\t\t\t\ttable.insert(o, KEYS[2])\n' + '\t\t\telse\n' + '\t\t\t\tlocal fr = redis.call("HGET", KEYS[1] .. ":Q", msg[1] .. ":fr")\n' + '\t\t\t\ttable.insert(o, fr)\n' + '\t\t\tend\n' + '\t\t\treturn o' ], code: 'ERR' } ReplyError: ERR unknown command 'script' at parseError (C:\Users\User\Documents\Uche Ubani Dev\example-message-queue\node_modules\redis\node_modules\redis-parser\lib\parser.js:193:12) at parseType (C:\Users\User\Documents\Uche Ubani Dev\example-message-queue\node_modules\redis\node_modules\redis-parser\lib\parser.js:303:14) { command: 'SCRIPT', args: [ 'load', 'local msg = redis.call("ZSCORE", KEYS[1], KEYS[2])\n' + '\t\t\tif not msg then\n' + '\t\t\t\treturn 0\n' + '\t\t\tend\n' + '\t\t\tredis.call("ZADD", KEYS[1], KEYS[3], KEYS[2])\n' + '\t\t\treturn 1' ], code: 'ERR' }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Whenever I try to create a queue I get the error ReplyError: ERR unknown command 'time'
The text was updated successfully, but these errors were encountered: