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

This commit is contained in:
Jon Chambers
2021-09-27 12:58:31 -04:00
committed by Jon Chambers
parent 5b9bce59e1
commit a5575902de

View File

@@ -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);
}
}
}