Why are you flushing the database on this line? `cmd = "redis-cli -h " + ip_address + ' flushall'`
Why are you flushing the database on this line?
cmd = "redis-cli -h " + ip_address + ' flushall'