refactoring

pull/4944/head
Nikita Koksharov 2 years ago
parent df7fa0c51b
commit 1e795a90a6

@ -141,11 +141,6 @@ public class RedisConnection implements RedisCommands {
return null;
}
public void clearCurrentCommand() {
Queue<QueueCommandHolder> queue = channel.attr(CommandsQueue.COMMANDS_QUEUE).get();
queue.poll();
}
public CommandData<?, ?> getCurrentCommand() {
Queue<QueueCommandHolder> queue = channel.attr(CommandsQueue.COMMANDS_QUEUE).get();
if (queue != null) {

Loading…
Cancel
Save