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 is True, it will be an instance of multiprocessing.Lock. If FLAG_TH is True, it will be an instance of threading.Lock. If none above, it will be an instance of contextlib.nullcontext.

See also