[{"data":1,"prerenderedAt":57},["ShallowReactive",2],{"changelog-entry-\u002Fchangelog\u002F2024\u002F05\u002Finstance-healthcheck":3},{"id":4,"title":5,"body":6,"description":44,"extension":45,"meta":46,"navigation":52,"path":53,"seo":54,"stem":55,"__hash__":56},"changelog\u002Fchangelog\u002F2024\u002F05\u002Finstance-healthcheck.md","Customizing instance health-check settings",{"type":7,"value":8,"toc":40},"minimark",[9,13,16,19,27,30,33],[10,11,12],"p",{},"When running Node-RED within FlowFuse, the platform actively monitors the instances\nto make sure they are running smoothly and automatically restarts them if it detects\na problem. It does this by regularly polling Node-RED to make sure it is still responsive.",[10,14,15],{},"This provides protection for the case where a user's flows accidentally creates a tight\nloop in its code and locks up the runtime.",[10,17,18],{},"We have to do this with care; it is entirely possible that a user's flows are intentionally\ndoing some hard work that causes our health check to temporarily fail. For that reason,\nwe only restart Node-RED if it fails a number of health-check polls in a row.",[10,20,21,22,26],{},"But even with that in place, there are still edge cases where a user's flows need to\ndo some ",[23,24,25],"em",{},"really"," hard work that can exceed what the default health-check polling is\nconfigured to handle.",[10,28,29],{},"We have now added the ability to customize how often we check the instance health. By default\nthis is done every 7.5 seconds, but can now be extended via the instance settings.",[10,31,32],{},"This will require the instance to be updated to the latest stack to enable the option.",[10,34,35],{},[36,37],"img",{"alt":38,"src":39},"Health check interval in Instance settings","\u002Fchangelog-media\u002F2024\u002F05\u002Fimages\u002Fhealthcheck.png",{"title":41,"searchDepth":42,"depth":42,"links":43},"",2,[],"FlowFuse now allows customization of instance health-check intervals to optimize performance for intensive workflows.","md",{"date":47,"authors":48,"tags":50},"2024-05-09 13:00:00.0",[49],"nick-oleary",[51],"changelog",true,"\u002Fchangelog\u002F2024\u002F05\u002Finstance-healthcheck",{"title":5,"description":44},"changelog\u002F2024\u002F05\u002Finstance-healthcheck","6ZbyFdXS6RLZoijYmZ_gqLJ5c2hXXEJQRdMXxYX987U",1780132422555]