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:
Danny Avila 2025-12-15 01:21:44 -05:00
parent 78848c4af9
commit ca21f16848
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
3 changed files with 2 additions and 16 deletions

View file

@ -221,7 +221,6 @@ class GenerationJobManagerClass {
});
}
}
logger.debug(`[GenerationJobManager] All subscribers left ${streamId}, reset syncSent`);
});
logger.debug(`[GenerationJobManager] Created job: ${streamId}`);
@ -615,7 +614,6 @@ class GenerationJobManagerClass {
}
this.jobStore.updateJob(streamId, updates);
logger.debug(`[GenerationJobManager] Tracked user message for ${streamId}`);
}
/**
@ -648,7 +646,6 @@ class GenerationJobManagerClass {
updates.promptTokens = metadata.promptTokens;
}
this.jobStore.updateJob(streamId, updates);
logger.debug(`[GenerationJobManager] Updated metadata for ${streamId}`);
}
/**
@ -660,7 +657,6 @@ class GenerationJobManagerClass {
return;
}
this.jobStore.setContentParts(streamId, contentParts);
logger.debug(`[GenerationJobManager] Set contentParts for ${streamId}`);
}
/**
@ -672,7 +668,6 @@ class GenerationJobManagerClass {
return;
}
this.jobStore.setGraph(streamId, graph);
logger.debug(`[GenerationJobManager] Set graph reference for ${streamId}`);
}
/**
@ -689,8 +684,8 @@ class GenerationJobManagerClass {
logger.debug(`[GenerationJobManager] getResumeState:`, {
streamId,
aggregatedContentLength: aggregatedContent.length,
runStepsLength: runSteps.length,
aggregatedContentLength: aggregatedContent.length,
});
return {