- Improved bidirectional synchronization logic in KommunikationSyncManager: - Added initial sync handling to prevent duplicates. - Optimized hash calculation to only write changes when necessary. - Enhanced conflict resolution with clearer logging and handling of various scenarios. - Refactored diff computation for better clarity and maintainability. - Updated beteiligte_sync_event_step to ensure proper lock management: - Added error handling for entity fetching and retry logic. - Improved logging for better traceability of sync actions. - Ensured lock release in case of unexpected errors.
18 KiB
18 KiB