Files
MemoryBear/api/app
lanceyq 99862db7a0 refactor(forgetting-engine): replace optimistic locking with APOC atomic operations in access history manager
- Replace version-based optimistic locking and retry loop with apoc.atomic.add/insert for concurrent safety
- Merge duplicate accesses within a batch before updating (access_count_delta)
- Simplify _calculate_update to only compute on new timestamps instead of full history rebuild
- Remove max_retries instance variable (kept as param for backward compat)
- Trim verbose docstrings and inline comments
2026-04-03 18:40:03 +08:00
..
2026-01-12 15:59:10 +08:00
2026-02-28 18:58:33 +08:00
2026-03-13 14:36:54 +08:00
2026-03-11 10:45:07 +08:00
2026-01-26 11:53:34 +08:00
2025-12-24 20:35:04 +08:00
2026-03-20 19:52:28 +08:00