How can I disable database lock in sqlite with python?
0
votes
1
answer
4479
views
I made a application in python and it should read and write simultaneously in multiple instances(multi CMD widows)(multi-threading). each thread is configured independently so it will not change the data that written with other instances. so in action app instance 1 will work with John's data and app instance 2 will work with Jane's data and so On.
the application concept is simple enough but in action when running multiple instances at once, there may be a situation that I get database locked error and the app will stop working.
I want to disable this locking system, because its not necessary in my application, I designed it Independent just for this reason.
can anybody tell me to do it in python? is it possible? where should I place a code or sql command or anything?
Asked by mohammad fallah.rasoulnejad
(103 rep)
Aug 18, 2018, 11:19 AM
Last activity: Aug 18, 2018, 12:33 PM
Last activity: Aug 18, 2018, 12:33 PM