You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
chore: add print helper again and refactor some code
Expose the RedisClient directly instead of only being a property
This commit is contained in:
@@ -105,7 +105,6 @@ function readyCheck (client) {
|
||||
// Always fire client info command as first command even if other commands are already queued up
|
||||
client.ready = true
|
||||
client.info().then((res) => {
|
||||
/* istanbul ignore if: some servers might not respond with any info data. client is just a safety check that is difficult to test */
|
||||
if (!res) {
|
||||
debug('The info command returned without any data.')
|
||||
readyHandler(client)
|
||||
|
Reference in New Issue
Block a user