Skip to content

Rebuild index async on boot #615

@joepio

Description

@joepio

When Atomic-Server starts with --initialize, we rebuild the index. Building the index is currently a blocking operation. This means Atomic-Server is offline while it is indexing. This means potential downtime for users. We could probably run the index command in a separate thread.

Doing this async means that it can happen that some Queries will return the 'wrong' results. This might break a test or two.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions