Skip to content

Commit

Permalink
INTERNAL: Change timeout value to parent property.
Browse files Browse the repository at this point in the history
  • Loading branch information
brido4125 authored and jhpark816 committed Apr 17, 2024
1 parent ba6e26c commit 608ace5
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ public FrontCacheGetFuture(LocalCacheManager localCacheManager, String key, GetF
this.key = key;
}

@Override
public T get() throws InterruptedException, ExecutionException {
T t = parent.get();
localCacheManager.put(key, t);
return t;
}

@Override
public T get(long timeout, TimeUnit unit) throws InterruptedException,
ExecutionException, TimeoutException {
Expand Down

0 comments on commit 608ace5

Please sign in to comment.