Currently, we are using polling for some of the graphql requests in the app. This leads to an increased number of http requests for the application. An example is the blocks page (https://explorer.cartesi.io/blocks) where every ~30 seconds new data is being retrieved, because we have a pollInterval set to 30000.
📄 Context
Currently, we are using polling for some of the graphql requests in the app. This leads to an increased number of http requests for the application. An example is the blocks page (https://explorer.cartesi.io/blocks) where every ~30 seconds new data is being retrieved, because we have a
pollInterval
set to30000
.✔️ Solution
Disable poll intervals for all graphql requests.
🎯 Definition of Done