mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-20 17:09:19 +01:00
eb5b1610d0
- 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> |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
build.gradle.kts | ||
consumer-rules.pro | ||
proguard-rules.pro |