mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 02:10:15 +01:00
refactor: Remove redundant debug logging in GenerationJobManager and RedisEventTransport
- Eliminated unnecessary debug statements in GenerationJobManager related to subscriber actions and job updates, enhancing log clarity. - Removed debug logging in RedisEventTransport for subscription and subscriber disconnection events, streamlining the logging output. - Cleaned up debug messages in RedisJobStore to focus on essential information, improving overall logging efficiency.
This commit is contained in:
parent
c611fad1d0
commit
a133e7decb
3 changed files with 2 additions and 16 deletions
|
|
@ -161,7 +161,6 @@ export class RedisEventTransport implements IEventTransport {
|
|||
this.subscriber.subscribe(channel).catch((err) => {
|
||||
logger.error(`[RedisEventTransport] Failed to subscribe to ${channel}:`, err);
|
||||
});
|
||||
logger.debug(`[RedisEventTransport] Subscribed to channel: ${channel}`);
|
||||
}
|
||||
|
||||
// Return unsubscribe function
|
||||
|
|
@ -192,7 +191,6 @@ export class RedisEventTransport implements IEventTransport {
|
|||
}
|
||||
|
||||
this.streams.delete(streamId);
|
||||
logger.debug(`[RedisEventTransport] All subscribers left ${streamId}`);
|
||||
}
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue