diff --git a/README.md b/README.md index f78f0a7..83e44b3 100644 --- a/README.md +++ b/README.md @@ -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 - 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. +- 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. diff --git a/src/main.rs b/src/main.rs index a3240a3..5c32437 100644 --- a/src/main.rs +++ b/src/main.rs @@ -148,8 +148,8 @@ async fn main() { .execute(&db).await.unwrap(); } - // Take all of 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. + // Take all the changed files' timeline items, and group them by item_id, then take the latest one. + // If we are needing to update the database it will be with this one. let possibly_timeline_items = need_refresh.into_iter() .flat_map(|f| f.json.timeline_items) .group_by(|item| item.item_id.clone())