redis tests - hashes

master
Alex 2022-03-26 21:28:03 +01:00
parent 7f3718d259
commit 5d68e4549a
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ public class RedisManager {
public void connect() { public void connect() {
this.client = RedisClient.create(this.getConnectionUri()); this.client = RedisClient.create(this.getConnectionUri());
RedisCommandFactory factory = new RedisCommandFactory(client.connect()); RedisCommandFactory factory = new RedisCommandFactory(client.connect());
factory.setVerifyCommandMethods(false);
this.redisKeyCommands = factory.getCommands(RedisKeyCommands.class); this.redisKeyCommands = factory.getCommands(RedisKeyCommands.class);
this.redisHashCommands = factory.getCommands(RedisHashCommands.class); this.redisHashCommands = factory.getCommands(RedisHashCommands.class);
//this.connection = client.connect(); //this.connection = client.connect();