mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 23:24:15 +02:00
[appimage] lock wait time reduced
This commit is contained in:
@@ -9,7 +9,7 @@ def acquire_lock(db_path: str):
|
|||||||
open(lock_path, 'a').close()
|
open(lock_path, 'a').close()
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
time.sleep(0.0005)
|
time.sleep(0.0001)
|
||||||
|
|
||||||
|
|
||||||
def release_lock(db_path: str):
|
def release_lock(db_path: str):
|
||||||
|
|||||||
Reference in New Issue
Block a user