Add connection host for Jedis.

This commit is contained in:
Keir 2015-12-06 19:05:20 +00:00
parent 2e72e46242
commit e21bd37b92
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,8 @@ public class ChatSnapManager
public static void main(String[] args) public static void main(String[] args)
{ {
new ChatSnapManager(new JedisPool(new JedisPoolConfig(), "host", 6379)); // TODO host new ChatSnapManager(new JedisPool(new JedisPoolConfig(), "10.3.203.80", 6379)); // TODO is this okay?
System.out.println("Started.");
} }
private JedisPool _jedisPool; private JedisPool _jedisPool;