-
Notifications
You must be signed in to change notification settings - Fork 3
make query_objects faster #12
Copy link
Copy link
Open
Description
I had the idea on a call that there is a way we can make query_objects much faster by keeping parts of the cache that are still relevant. Below are some changes that would need to be made
- add
dateModifiedto the fields returned by thequeryfunction - if a cache is found,
filterto keep all objects with adateModifiedolder than the datetime at runtime queryfor objects only with adateModifiedmore recent than the datetime at runtime- save the cache
- if no cache is found, then make sure the datetime you are querying against is very far in the past so that you get all of the objects
- remove the
cache_toleranceparameter
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels