mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-21 02:29:44 +02:00
feat: Implemented Lock Mechanism for Synchronization.
- Refactored beforeSync() to incorporate a robust locking mechanism. - Added backoff strategy to handle race conditions during concurrent sync attempts. - Ensured single instance of sync data file on Google Drive to prevent duplication. - Optimized lock file checking and handling for efficient synchronization process. This update significantly improves the reliability and efficiency of the syncing process by preventing race conditions and ensuring that synchronization actions are atomic. Signed-off-by: KaiserBh <kaiserbh@proton.me>
This commit is contained in:
@@ -577,6 +577,7 @@
|
||||
<string name="google_drive_login_success">Logged in to Google Drive</string>
|
||||
<string name="google_drive_login_failed">Failed to log in to Google Drive: %s</string>
|
||||
<string name="google_drive_not_signed_in">Not signed in to Google Drive</string>
|
||||
<string name="error_deleting_google_drive_lock_file">Error Deleting Google Drive Lock File</string>
|
||||
<string name="pref_purge_confirmation_title">Purge confirmation</string>
|
||||
<string name="pref_purge_confirmation_message">Purging sync data will delete all your sync data from Google Drive. Are you sure you want to continue?</string>
|
||||
|
||||
|
Reference in New Issue
Block a user