Commit d5ea367b authored by Ard Schrijvers's avatar Ard Schrijvers

HSTTWO-4340 [Backport 11.2] Avoid CPU being completely taken when infinite loading issue

(cherry picked from commit c69b65c7)
parent c4ceb952
......@@ -341,6 +341,8 @@ public class DefaultHstSiteConfigurer implements HstSiteConfigurer {
while (root == null) {
try {
root = hstNodeLoadingCache.getNode(hstNodeLoadingCache.getRootPath());
// don't sweat to much, sleep for 250 ms
} catch (ConfigurationNodesLoadingException e) {
if (log.isDebugEnabled()) {"Exception while trying to load the HST configuration nodes. Try again.", e);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment