Hi Community,
Is there a limitation how long low-code apps and dashboards can remain open?
If you look at a NOC environment for example, operators would like to keep the dashboards&apps open permanently - is this possible or will there be timeouts etc after a certain time period?
Thanks,
Lars
This should be possible. However, the IIS web server is by default configured to recycle every 29 hours which will cause the connection to drop. Dashboards and the Low-code apps will reconnect in the background, but any active subscriptions won't be restored, so the dashboard or app might not receive any updates (a warning message will be displayed when this happens).
If you want to keep them open, then I would recommend to disable IIS recycling: On your DMA, open IIS Manager. In the IIS tree, expand the current machine and select Application Pools. Select DefaultAppPool and click the "Recycling…" hyperlink from the right hand menu. Uncheck all boxes (by default, "Regular time intervals (in minutes)" option is selected). Press Next and then Finish.
Wim, I noticed that a feature suggestion was made to enable automatic disconnect of low-code apps. https://community.dataminer.services/new-feature-suggestions/low-code-app-automatic-disconnection-of-the-session/
Are you indicating with above that it would also be possible to already configure the IIS to automatically drop the connections after an hour?
The entire web application gets restarted when IIS does a “recycle”, so the connections of all users who are connected via a web app will get dropped.
We drop idle connections which didn’t make any server call within the last 5 minutes. But if a user keeps a dashboard or low-code app open in one of his browser tabs, typically this always does some server calls in the background so the connection stays open. I think it would make sense if an app is open in one of the browser tabs but isn’t visible, that it goes over to slowly updating and eventually disconnects after a certain time of not being used, but this doesn’t happen at the moment unless the browser puts the tab into a sleep mode (Edge: https://aka.ms/EdgeSleepingTabs).
Alright, thanks for the additional comments, Wim!
Thank you for this details answer, Wim! I will check this with the customer.