z-classic / z-nomp

z-nomp is mining pool software for Zcash and Zclassic so you can create internet money in your home!
MIT License
291 stars 437 forks source link

Fixed missing redis auth in init.js #295

Open racquemis opened 6 years ago

racquemis commented 6 years ago

When Redis is setup with authentication z-nomp fails to start the redis connection due to a missing line in init.js

hellcatz commented 6 years ago

Should it not be?

           redisConfig = pcfg.redis;
           connection = redis.createClient(redisConfig.port, redisConfig.host)
            if (redisConfig.password) { 
                connection.auth(redisConfig.password);  
            } 
nimbosa commented 5 years ago

@racquemis