Skip to content

[Question]:multi worker fastapi #2010

@mhmd-shadfar

Description

@mhmd-shadfar

Do you need to ask a question?

  • I have searched the existing question and discussions and this question is not already answered.
  • I believe this is a legitimate question, not just a bug or feature request.

Your Question

i serve LightRAG using FastAPI with multiple workers (uvicorn --workers 4) and when i index documents it overwrite the database and the past docs get deleted.(note that when i use multiple workers it creates multiple instances of LightRAG)
do i need specific configuration?

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions