Skip to content

Commit

Permalink
Refresh valid invokers after connectivity check
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbumenJ committed Feb 20, 2024
1 parent caed64b commit 5179991
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -356,11 +356,14 @@ public void checkConnectivity() {
}
invokersToReconnect.remove(tInvoker);
}

// 4. refresh valid invokers list
refreshInvoker();
} finally {
checkConnectivityPermit.release();
}

// 4. submit new task if it has more to recover
// 5. submit new task if it has more to recover
if (!invokersToReconnect.isEmpty()) {
checkConnectivity();
}
Expand Down

0 comments on commit 5179991

Please sign in to comment.