You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So sending a kill signal to process with sqlitedict will not close (not all the time) the db connection and the proccess can hang forever.
Causing the "singlton" lock file to no be removed.
What can cause it ?
The text was updated successfully, but these errors were encountered:
@mpenkov do you know if I can close connection to DB after commit, and open when write ?
since connection is open all the time - the file is locked while proccess on
This is the locking I use.
With sqlitedict I get the process stuck in memmory for up to 10 minute.
Without sqlitedict it removing this file immediatly:
So if no fix fore that I wil lswitch to peewee ...
I also do
for table in self.list_of_tables_user_data:
self.user_data[table].close()
@mpenkov
This is an example for the issue. all those db are file locked in, while process should been exit already.
How can I close the connection with auto-commit ?
I am also useing to peewee and sqlite3 and I dont see that happens.
please check singlton
pycontribs/tendo#55
So sending a kill signal to process with sqlitedict will not close (not all the time) the db connection and the proccess can hang forever.
Causing the "singlton" lock file to no be removed.
What can cause it ?
The text was updated successfully, but these errors were encountered: