[PR #21941] [MERGED] chore: check before sync linked albums from websocket events #17036

Closed
opened 2026-02-05 16:14:50 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/21941
Author: @alextran1502
Created: 9/14/2025
Status: Merged
Merged: 9/14/2025
Merged by: @alextran1502

Base: mainHead: check-before-sync-linked-album


📝 Commits (1)

  • 9d682b6 chore: check before sync linked albums from websocket events

📊 Changes

3 files changed (+23 additions, -7 deletions)

View changed files

📝 mobile/lib/domain/utils/background_sync.dart (+18 -5)
📝 mobile/lib/providers/websocket.provider.dart (+4 -1)
📝 mobile/lib/utils/isolate.dart (+1 -1)

📄 Description

This PR adds a check before running the sync linked albums method to avoid unnecessarily spinning up another isolate when the feature isn't enabled.

Added some debug log for easier track errors in dev environment


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/21941 **Author:** [@alextran1502](https://github.com/alextran1502) **Created:** 9/14/2025 **Status:** ✅ Merged **Merged:** 9/14/2025 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `check-before-sync-linked-album` --- ### 📝 Commits (1) - [`9d682b6`](https://github.com/immich-app/immich/commit/9d682b69a574f1746e0c7bad98e63f98a86b00c8) chore: check before sync linked albums from websocket events ### 📊 Changes **3 files changed** (+23 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `mobile/lib/domain/utils/background_sync.dart` (+18 -5) 📝 `mobile/lib/providers/websocket.provider.dart` (+4 -1) 📝 `mobile/lib/utils/isolate.dart` (+1 -1) </details> ### 📄 Description This PR adds a check before running the sync linked albums method to avoid unnecessarily spinning up another isolate when the feature isn't enabled. Added some debug log for easier track errors in dev environment --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 16:14:50 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#17036