Skip to content

Commit

Permalink
Remove superfluous call to command.get() in FutureSyncInvocationHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
mp911de committed Jul 30, 2018
1 parent 232301f commit dea99cb
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -66,8 +66,7 @@ protected Object handleInvocation(Object proxy, Method method, Object[] args) th

long timeout = getTimeoutNs(command);

LettuceFutures.awaitOrCancel(command, timeout, TimeUnit.NANOSECONDS);
return command.get();
return LettuceFutures.awaitOrCancel(command, timeout, TimeUnit.NANOSECONDS);
}

return result;
Expand Down

0 comments on commit dea99cb

Please sign in to comment.