Add connection host for Jedis.
This commit is contained in:
parent
2e72e46242
commit
e21bd37b92
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user