You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current implementation has following issues with polling optimization which can be improved:
one tile is fetching all data twice - once for summary and once for recent incidents, sometimes it is the same source of information that could be fetched once
tile itself can fetch all data and than pass last incidents to small timeline on tile, instead of creating two Network objects to fetch data
when opening big timeline, new polling process starts, which is getting the same data as tile
when removing tile, data is still polled in background
Possible Solution
fetch data once and format as summary and recent incidents in main StatusPage component (if possible)
remove unnecessary Network object initialization in CurrentIncidents and pass incidents from StatusPage
add possibility to handle onClose event when StackedNerdlet is closed which will allow to stop polling data
clear polling when user deletes tile
The text was updated successfully, but these errors were encountered:
Summary
Current implementation has following issues with polling optimization which can be improved:
Possible Solution
The text was updated successfully, but these errors were encountered: