-
darc.db.
QR_LOCK
= multiprocessing.Lock()¶ I/O lock for the
requests
database_queue_requests.txt
.See also
darc.db.save_requests()
-
darc.db.
QS_LOCK
= multiprocessing.Lock() | threading.Lock() | contextlib.nullcontext()¶ I/O lock for the
selenium
database_queue_selenium.txt
.If
FLAG_MP
isTrue
, it will be an instance ofmultiprocessing.Lock
. IfFLAG_TH
isTrue
, it will be an instance ofthreading.Lock
. If none above, it will be an instance ofcontextlib.nullcontext
.See also
darc.db.save_selenium()