Skip to content

Commit

Permalink
fix(core): Handle reading task results from previous redis delegate (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ajordens committed Apr 5, 2018
1 parent 44b9b18 commit 0f8501f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public void addResultObjects(List<Object> objects, JedisTask task) {
public List<Object> getResultObjects(JedisTask task) {
String resultId = "taskResult:" + task.getId();

return retry(() -> redisClientDelegate.withCommandsClient(client -> {
return retry(() -> clientForTask(task).withCommandsClient(client -> {
return client.lrange(resultId, 0, -1);
}), format("Getting results for task %s", task.getId()))
.stream()
Expand Down

0 comments on commit 0f8501f

Please sign in to comment.