tachiyomi/domain
KaiserBh eb5b1610d0
feat: Enhanced SyncYomi with Robust Locking Mechanism
- Introduced `LockFile` data class to manage sync status and ownership.
- Enumerated `SyncStatus` to clearly indicate the stage of synchronization: Pending, Syncing, or Success.
- Implemented a new `beforeSync` method utilizing `OkHttpClient` for secure HTTP calls to manage the lock file.
- Added JSON serialization for lock file management and status updates.
- Implemented exponential backoff strategy to handle concurrent sync attempts and reduce race conditions.
- Added comprehensive logging for debugging and monitoring sync processes.

This update enhances the reliability and concurrency handling of SyncYomi's synchronization process, ensuring users experience seamless and efficient data syncing in a self-hosted environment.

Signed-off-by: KaiserBh <kaiserbh@proton.me>
2024-01-07 09:50:30 +11:00
..
src feat: Enhanced SyncYomi with Robust Locking Mechanism 2024-01-07 09:50:30 +11:00
.gitignore Move Category model and repository to domain and data layer (#8967) 2023-01-22 10:12:29 -05:00
build.gradle.kts Move backup models to domain module 2023-12-24 18:01:58 -05:00
consumer-rules.pro Move Category model and repository to domain and data layer (#8967) 2023-01-22 10:12:29 -05:00
proguard-rules.pro Move Category model and repository to domain and data layer (#8967) 2023-01-22 10:12:29 -05:00