Skip to content

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bohhyang committed Jan 4, 2024
1 parent 2601b0d commit b3a1505
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ public void onSuccess(None result) {

private void prepareWarmUp(Callback<None> callback)
{
AtomicBoolean hasTimedOut = new AtomicBoolean(false);
// not to be thread-safe, but just to be effectively final to be used in lambdas
final AtomicBoolean hasTimedOut = new AtomicBoolean(false);

try {
_downstreamServicesFetcher.getServiceNames(serviceNames -> {
Expand Down

0 comments on commit b3a1505

Please sign in to comment.