Skip to content

Commit

Permalink
Merge branch 'master' of github.com:redisson/redisson
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Koksharov committed Jun 30, 2022
2 parents 46cf07b + dc1ec8e commit 301701c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ public <T> RExecutorFuture<T> submitAsync(Callable<T> task, long timeToLive, Tim
check(task);
TaskParameters taskParameters = createTaskParameters(task);
taskParameters.setTtl(timeUnit.toMillis(timeToLive));
RemotePromise<T> result = (RemotePromise<T>) asyncService.executeCallable(taskParameters);
RemotePromise<T> result = (RemotePromise<T>) asyncService.executeCallable(taskParameters).toCompletableFuture();
addListener(result);
return createFuture(result);
}
Expand Down

0 comments on commit 301701c

Please sign in to comment.