我正在使用与SQLAlchemy后端一起部署的flask-monitoring-dashboard。我时不时地遇到这样的OperationalError:
[Thu Jul 26 10:56:56.386739 2018] [wsgi:error]
[pid 12899:tid 140156711458560] sqlalchemy.exc.OperationalError:
(sqlite3.OperationalError) database is locked [SQL: 'UPDATE "Endpoint" SET last_requested=? WHERE "Endpoint".name = ?']
[parameters: ('2018-07-26 08:56:51.363447', 'api.user_articles_recommended')]
(Background on this error at: http://sqlalche.me/e/e3q8)
有什么我要做的避免这种情况的事情吗?也许一些SQLAlchemy配置选项?