-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
Description
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.