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
To determine if the history list requires a refresh we send request every 250 ms in refreshHistoryIfNeeded.
This needs a delay/throttle, so this api request tries to be made last in the stack. We also use this to stop an API call happening if the component is going to unmount soon.
This could potentially be solved by using apollo-client's caching and graphql.
See:
GuySartorelli
changed the title
TODO: Investigate the potential improvements for HistoryList
Use caching instead of polling in HistoryList
Oct 25, 2023
Description
To determine if the history list requires a refresh we send request every 250 ms in refreshHistoryIfNeeded.
This could potentially be solved by using apollo-client's caching and graphql.
See:
silverstripe-asset-admin/client/src/containers/HistoryList/HistoryList.js
Line 78 in 02728e1
The text was updated successfully, but these errors were encountered: