]> git.ipfire.org Git - people/ms/libloc.git/commit
importer: Use database pipelining when parsing feeds
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 7 Mar 2024 12:39:09 +0000 (12:39 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 7 Mar 2024 12:45:58 +0000 (12:45 +0000)
commitc86209e2955d0a0d018838fbf6ded94e65177997
tree82f8c6e3785f6a16ca9d59c29bfe86994b0144f6
parent776226b608ded5b36a951676348a0c83a19463ef
importer: Use database pipelining when parsing feeds

Pipelining should allow us to parse feeds faster since we no longer wait
for a response from the database for each row that we are inserting.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/python/location/database.py
src/scripts/location-importer.in