var redisClient = require('../libs/redis-client');
redisClient.on('ready', function () {
	redisClient.flushall(function () {
		console.log('flush done')
		redisClient.end();
	});
})

var redisClient = require('../libs/redis-client').redisClient;
redisClient.on('ready', function () {
	redisClient.flushall(function () {
		console.log('flush done')
		redisClient.end();
	});
})

update tools/flushredis due to redis-client refactoring