From e2cc9a9992661ef3f90360513da34aafec759d4e Mon Sep 17 00:00:00 2001 From: Eugene Burmakin Date: Sat, 25 May 2024 22:27:18 +0200 Subject: [PATCH] Increase the concurrency of the Sidekiq workers to 10 and add the user_id to the records parsed from the Google Maps Timeline Export. --- CHANGELOG.md | 2 ++ app/services/google_maps/records_parser.rb | 3 ++- config/sidekiq.yml | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a475e76..bc393862 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Heatmap layer on the map to show the density of points +--- + ## [0.4.0] — 2024-05-25 **BREAKING CHANGES**: diff --git a/app/services/google_maps/records_parser.rb b/app/services/google_maps/records_parser.rb index 900a708b..5f1a3538 100644 --- a/app/services/google_maps/records_parser.rb +++ b/app/services/google_maps/records_parser.rb @@ -18,7 +18,8 @@ class GoogleMaps::RecordsParser raw_data: data[:raw_data], topic: 'Google Maps Timeline Export', tracker_id: 'google-maps-timeline-export', - import_id: import.id + import_id: import.id, + user_id: import.user_id ) end diff --git a/config/sidekiq.yml b/config/sidekiq.yml index 36c1fa90..d7ab48fa 100644 --- a/config/sidekiq.yml +++ b/config/sidekiq.yml @@ -1,3 +1,5 @@ +--- +:concurrency: 10 :queues: - default - imports