Skip to content

Index churn on initial idle #212

@kofalt

Description

@kofalt

If you boot the API and make no requests, you'll see index-creation churn in the logs:

15:47:01 scitran.api config.py  151:INFO Initializing database, creating indexes
15:47:01 scitran.api config.py  174:INFO Persisting configuration

15:55:01 scitran.api config.py  151:INFO Initializing database, creating indexes
15:55:01 scitran.api config.py  174:INFO Persisting configuration

15:56:01 scitran.api config.py  151:INFO Initializing database, creating indexes
15:56:01 scitran.api config.py  174:INFO Persisting configuration

It's pretty clear that config.initialize_db should only ever be called once.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions