-
-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 5405 - 3 queues for background tasks (fast, slow, long haul) (#…
…5743) New file: * `background_task_queue.dart`: Queues for Background Tasks. Impacted files: * `background_task.dart`: now we add tasks to a specific queue * `background_task_add_other_price.dart`: assigned to `BackgroundTaskQueue.fast` * `background_task_add_price.dart`: assigned to `BackgroundTaskQueue.slow` * `background_task_badge.dart`: minor refactoring * `background_task_crop.dart`: assigned to `BackgroundTaskQueue.fast` * `background_task_details.dart`: assigned to `BackgroundTaskQueue.fast` * `background_task_download_products.dart`: assigned to `BackgroundTaskQueue.longHaul` * `background_task_full_refresh.dart`: assigned to `BackgroundTaskQueue.longHaul` * `background_task_hunger_games.dart`: assigned to `BackgroundTaskQueue.fast` * `background_task_image.dart`: assigned to `BackgroundTaskQueue.slow` * `background_task_language_refresh.dart`: assigned to `BackgroundTaskQueue.longHaul` * `background_task_manager.dart`: now using new class `BackgroundTaskQueue` in order to use multiple queues * `background_task_offline.dart`: assigned to `BackgroundTaskQueue.longHaul` * `background_task_refresh_later.dart`: assigned to `BackgroundTaskQueue.fast` * `background_task_top_barcodes.dart`: assigned to `BackgroundTaskQueue.longHaul` * `background_task_unselect.dart`: assigned to `BackgroundTaskQueue.fast` * `dao_string_list.dart`: added 2 queues * `local_database.dart`: now running all queues * `local_database_mock.dart`: minor refactoring * `offline_tasks_page.dart`: now taking queues into account * `up_to_date_mixin.dart`: now running all queues * `user_preferences_page.dart`: now running all queues
- Loading branch information
1 parent
40a8641
commit 69bb171
Showing
23 changed files
with
228 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.