Files
motia/bitbylaw/services/kommunikation_sync_utils.py
bitbylaw e057f9fa00 Enhance KommunikationSyncManager and Sync Event Step
- 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.
2026-02-08 22:21:08 +00:00

41 KiB