infiniflow/ragflow

[Question]: How to limit Graghrag's request rate?

Opened this issue · 2 comments

Describe your problem

I tried to use the environment variable settings in Microsoft's official documentation, but the root does not work and the interface request rate cannot be set.

GRAPHRAG_LLM_THREAD_STAGGER=10
GRAPHRAG_LLM_CONCURRENT_REQUESTS=10

image

Set GRAPH_EXTRACTOR_MAX_WORKERS=1 in the container and kill ragflow-server to restart it.

Set GRAPH_EXTRACTOR_MAX_WORKERS=1 in the container and kill ragflow-server to restart it.
@KevinHuSh
Thank you very much. Could you please add the documentation for this environment variable setting later?