Skip to content

Commit

Permalink
JNG-5995 Removing retry counter
Browse files Browse the repository at this point in the history
  • Loading branch information
robertcsakany committed Nov 28, 2024
1 parent 3ce041b commit ef61b96
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,9 @@ public WrappedEmfModelContext() {

private void retry(Runnable executeable) {
synchronized (resource) {
int cnt = 0;
boolean success = false;
ConcurrentModificationException exception = null;
while (cnt < 10 && !success) {
while (!success) {
try {
executeable.run();
success = true;
Expand Down

0 comments on commit ef61b96

Please sign in to comment.