🔒 fix: Disable Redis leader-only mode for shared app and user servers (#10605)

Resolving: https://github.com/danny-avila/LibreChat/discussions/10598
This commit is contained in:
Theo N. Truong 2025-11-20 14:00:43 -05:00 committed by GitHub
parent dfcaff9b00
commit 1e4c255351
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,8 +16,8 @@ import {
* Handles server lifecycle operations including adding, removing, and querying configurations. * Handles server lifecycle operations including adding, removing, and querying configurations.
*/ */
class MCPServersRegistry { class MCPServersRegistry {
public readonly sharedAppServers = ServerConfigsCacheFactory.create('App', true); public readonly sharedAppServers = ServerConfigsCacheFactory.create('App', false);
public readonly sharedUserServers = ServerConfigsCacheFactory.create('User', true); public readonly sharedUserServers = ServerConfigsCacheFactory.create('User', false);
private readonly privateUserServers: Map<string | undefined, ServerConfigsCache> = new Map(); private readonly privateUserServers: Map<string | undefined, ServerConfigsCache> = new Map();
public async addPrivateUserServer( public async addPrivateUserServer(