Librechat-Mobile/core/data
Garfie ac125bb24c fix(data): mutex guard repository caches against suspension races
AgentRepositoryImpl.cachedAgents and PresetRepositoryImpl.cachedPresets
are read-checked, fetched across a suspension point, then written. With
@Volatile alone, two coroutines can both observe null, both issue the
network request, and both write the cache — a redundant API call per
cold-cache race. Wrap read-check-write in a Mutex so at most one fetch
runs per cold cache; invalidateCache() becomes suspend to match.
2026-04-27 18:32:07 -06:00
..
schemas/com.garfiec.librechat.core.data.db.LibreChatDatabase chore: rename package com.librechat to com.garfiec.librechat 2026-04-03 16:12:37 -05:00
src fix(data): mutex guard repository caches against suspension races 2026-04-27 18:32:07 -06:00
build.gradle.kts chore: rename package com.librechat to com.garfiec.librechat 2026-04-03 16:12:37 -05:00
CLAUDE.md chore: rename project from LibreChat Android to LibreChat Mobile 2026-04-03 16:56:36 -05:00