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
from tendo import singleton
me = singleton.SingleInstance(lockfile='running.lock') # will sys.exit(-1) if other instance is running
validated_profiles_queue = persistqueue.SQLiteQueue(
os.path.join(Settings.database_location_path, 'valid_users_q'),
auto_commit=True)
And some other process sent an kill for popen(run.py)
the process was still in memory since I used the singleton and the file was locked forever.
The issue was persistqueue.SQLiteQueue was not terminated .
The text was updated successfully, but these errors were encountered:
I used to have the following code:
run.py
And some other process sent an kill for popen(run.py)
the process was still in memory since I used the singleton and the file was locked forever.
The issue was persistqueue.SQLiteQueue was not terminated .
The text was updated successfully, but these errors were encountered: