File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
ingestion/src/main/java/feast/store/serving/redis Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 4141import org .joda .time .Instant ;
4242import org .slf4j .Logger ;
4343import 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
4945public 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 }
You can’t perform that action at this time.
0 commit comments