Pārlūkot izejas kodu

Remove stray TODO

The DB creation operates with a DB lock, so that code can't run while another process is filling the DB; it would block on obtaining the lock a few lines prior instead.
master
JustAnotherArchivist pirms 3 gadiem
vecāks
revīzija
6cc4adb901
1 mainītis faili ar 0 papildinājumiem un 2 dzēšanām
  1. +0
    -2
      qwarc/__init__.py

+ 0
- 2
qwarc/__init__.py Parādīt failu

@@ -377,8 +377,6 @@ class QWARC:
continue
else:
# Really nothing to do anymore
#TODO: Another process may be running create_db, in which case we'd still want to wait...
# create_db could insert a dummy item which is marked as done when the DB is ready
cursor.execute('COMMIT')
break
id, itemType, itemValue, status = result


Notiek ielāde…
Atcelt
Saglabāt