Pause if we bump into an exception while trying to persist messages
This commit is contained in:
parent
5b9bce59e1
commit
a5575902de
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue