Browse Source

Fail gracefully after 5 unsuccessful attempts to update_base

master
Con Kolivas 9 years ago
parent
commit
11537481fd
  1. 2
      src/stratifier.c

2
src/stratifier.c

@ -932,6 +932,8 @@ retry:
LOGWARNING("Generator returned failure in update_base, retry #%d", retries); LOGWARNING("Generator returned failure in update_base, retry #%d", retries);
goto retry; goto retry;
} }
LOGWARNING("Generator failed in update_base after retrying");
goto out;
} }
if (unlikely(retries)) if (unlikely(retries))
LOGWARNING("Generator succeeded in update_base after retrying"); LOGWARNING("Generator succeeded in update_base after retrying");

Loading…
Cancel
Save