mihon/app
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 Minor cleanup 2023-10-14 22:46:51 -04:00
build.gradle.kts Merge branch 'master' into sync-part-final 2024-01-06 16:35:24 +11:00
proguard-android-optimize.txt Remove unused rxandroid dependency 2023-08-26 10:30:26 -04:00
proguard-rules.pro refactor: remove proguard rules for keeping the class. 2024-01-02 08:14:44 +11:00
shortcuts.xml Minor cleanup 2023-10-14 22:46:51 -04:00