The cache_manager now uses Redis hashes for the content_index and ipfs_cids mappings. This allows multiple uvicorn workers to share state, so files added by one worker are immediately visible to all others. - Added redis_client parameter to L1CacheManager - Index lookups check Redis first, then fall back to in-memory - Index updates go to both Redis and JSON file (backup) - Migrates existing JSON indexes to Redis on first load - Re-enabled workers=4 in uvicorn Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
162 KiB
162 KiB