-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui: remove auto polling from fingerprints pages
Previously, we were automatically fetching new data on the fingerprints pages every 5m if the time period selected was of the form 'Past xxxx of data'. We should not automatically poll because: 1. this is an expensive request, we don't want to unnecessarily send new ones if the user does not need to refresh their data. 2. It can be a weird experience to be viewing your table and have things suddenly update/change, since we don't communicate that we're fetching new data every 5m. As part of this change, we move the invalidation of data depending on the global time scale object to the saga observing the timescale update in redux, rather than in the saga that dispatches the update time scale action. This ensures that the update ts action has been reduced at the time of invalidation. In the future, we should remove the `SET_GLOBAL_TIME_SCALE` action as it is just a wrapper dispatching `SET_SCALE`. This commit also removes issuing a stats request from the reset sql 14 stats saga, since invalidating the statements 15 will cause a refresh in the page already. Epic: none Part of: #97875 Release note (ui change): New data is not auto fetched every 5m on the stmt / txn fingerprints pages.
- Loading branch information
Showing
22 changed files
with
179 additions
and
242 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.