Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
Content
Too many Redis accesses in AppQueueManager
Each time a message is generated, Redis is accessed twice to check if the workflow has stopped.
Especially when accessing LLM in a streaming mode, each SSE message will trigger Redis access.
I think this is redundant; accessing Redis once every few seconds, such as every 1 second, should be sufficient.
We can add memory caching for
_is_stopped; if necessary, I can submit a pull request.Beta Was this translation helpful? Give feedback.
All reactions