-
Improvement
-
Resolution: Fixed
-
Normal
-
None
There's some pretty stupid database queries in messybrainz, like https://github.com/metabrainz/messybrainz-server/blob/master/messybrainz/__init__.py#L37-L40 where we perform two queries if the item exists in the database, instead of just 1 query to get the data.
We may be able to reduce the number of queries by doing these checks/inserts for all 10 items passed to us, instead of one at a time