Add more TODOs
This commit is contained in:
parent
97688b49c9
commit
057fa81e67
@ -34,3 +34,6 @@ see `arc-ingester --help` for more information.
|
|||||||
- Investigate using modified date as a replacement for hashing to determine if a file has changed
|
- Investigate using modified date as a replacement for hashing to determine if a file has changed
|
||||||
- At the very least, use the modified date to determine if a file has changed and then hash check the ones that have
|
- At the very least, use the modified date to determine if a file has changed and then hash check the ones that have
|
||||||
the same modified date.
|
the same modified date.
|
||||||
|
- Multithreading
|
||||||
|
- Error handling
|
||||||
|
- What happens if some places or activities are deleted from the app? I think atm they will be left in the database.
|
||||||
|
|||||||
@ -148,8 +148,8 @@ async fn main() {
|
|||||||
.execute(&db).await.unwrap();
|
.execute(&db).await.unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Take all of the changed files' timeline items, and group them by item_id, then take the latest one.
|
// Take all the changed files' timeline items, and group them by item_id, then take the latest one.
|
||||||
// If we are needing to updated the database it will be with this one.
|
// If we are needing to update the database it will be with this one.
|
||||||
let possibly_timeline_items = need_refresh.into_iter()
|
let possibly_timeline_items = need_refresh.into_iter()
|
||||||
.flat_map(|f| f.json.timeline_items)
|
.flat_map(|f| f.json.timeline_items)
|
||||||
.group_by(|item| item.item_id.clone())
|
.group_by(|item| item.item_id.clone())
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user