Commit local changes
This commit is contained in:
parent
3797ea178a
commit
12001b1640
@ -220,11 +220,7 @@ class Importer:
|
||||
def import_into_db(self):
|
||||
|
||||
with concurrent.futures.ThreadPoolExecutor(max_workers=8) as executor:
|
||||
fs = [
|
||||
executor.submit(refresh_package, self, self.project, package)
|
||||
for package in self.packages
|
||||
]
|
||||
concurrent.futures.wait(fs)
|
||||
for package in self.packages: refresh_package(self, self.project, package)
|
||||
|
||||
self.db.conn.commit()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user