Skip to content

Commit ccecd61

Browse files
author
Lavkesh Lahngir
committed
Removing extra lines
1 parent 244fa85 commit ccecd61

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

ingestion/src/main/java/feast/store/serving/redis/RedisCustomIO.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@
4141
import org.joda.time.Instant;
4242
import org.slf4j.Logger;
4343
import org.slf4j.LoggerFactory;
44-
import redis.clients.jedis.Jedis;
45-
import redis.clients.jedis.Pipeline;
46-
import redis.clients.jedis.Response;
47-
import redis.clients.jedis.exceptions.JedisConnectionException;
4844

4945
public class RedisCustomIO {
5046

@@ -241,7 +237,6 @@ public void startBundle() {
241237
log.error("Connection to redis cannot be established ", e);
242238
}
243239
mutations.clear();
244-
pipeline = jedis.pipelined();
245240
}
246241

247242
private void executeBatch() throws Exception {
@@ -278,8 +273,6 @@ public void cleanUpAfterFailure() {
278273
if (pipeline != null) {
279274
pipeline.clear();
280275
}
281-
jedis = new Jedis(host, port, timeout);
282-
pipeline = jedis.pipelined();
283276
}
284277
});
285278
}

0 commit comments

Comments
 (0)