1

I am creating a small webapp with flask and sqlite, but in many cases I get the error that the database is locked.

in this post, there is a comment that one way to tackle this is by increasing the timeout however, I am not really sure on how to do that

there is this command that was suggested for Django, not sure how this would work for Flask create_engine('sqlite:///{}'.format(xxx), connect_args={'timeout': 15})

Macosso
  • 1,352
  • 5
  • 22

0 Answers0