Closed nixpulvis closed 2 months ago
Fetched should be a HashMap<FetchId, Timestamp> where the FetchId represents a loaded bubble, and the new Timestamp is the last requested time.
Fetched
HashMap<FetchId, Timestamp>
FetchId
Timestamp
https://github.com/nixpulvis/galos/blob/544dc9fdfd8228a5b317a6b680f62b61c9db255e/starmap/src/systems/fetch.rs#L36
We should now be able to debounce updates (#40, #48) based on both the updated at information and region existence. If the region didn’t exist we prioritize fetching it.
https://github.com/nixpulvis/galos/blob/544dc9fdfd8228a5b317a6b680f62b61c9db255e/starmap/src/systems/fetch.rs#L100
Related to #60.
Fetched
should be aHashMap<FetchId, Timestamp>
where theFetchId
represents a loaded bubble, and the newTimestamp
is the last requested time.https://github.com/nixpulvis/galos/blob/544dc9fdfd8228a5b317a6b680f62b61c9db255e/starmap/src/systems/fetch.rs#L36
We should now be able to debounce updates (#40, #48) based on both the updated at information and region existence. If the region didn’t exist we prioritize fetching it.
https://github.com/nixpulvis/galos/blob/544dc9fdfd8228a5b317a6b680f62b61c9db255e/starmap/src/systems/fetch.rs#L100
Related to #60.