Pause if we bump into an exception while trying to persist messages

This commit is contained in:
Jon Chambers authored and Jon Chambers committed 2021-09-27 13:38:17 -04:00
1 parent 5b9bce59e1
commit a5575902de
1 file changed
+1
@@ -74,6 +74,7 @@ public class MessagePersister implements Managed {
}
} catch (final Throwable t) {
logger.warn("Failed to persist queues", t);
Util.sleep(EXCEPTION_PAUSE_MILLIS);
}
}
}