-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't make calls to the database in for loops #530
Comments
@syphar are you interested in taking a look at this? I don't want to burden you with too much work, but it seems right up your alley :) |
It's definitely my alley :) Actually I'm not sure why I already saw and fixed it when I looked through all issues :) |
on current master, it looks like the remaining fixes are:
I'll start with these, and other small optimizations I find in Can you elaborate where you see an issue with |
add_path_into_database is very different now, most of it is in the storage module. I don't see anything in storage that looks bad off the top of my head (and performance doesn't matter for the test database anyway, only for S3). I don't remember what I was thinking about |
I'll leave |
This is a low-priority issue, we should fix #379 and #343 first.
This came up while reviewing #529. Offenders:
add_owners_into_database
add_package_into_database
(not the same but related)add_keywords_into_database
add_authors_into_database
add_path_into_database
The text was updated successfully, but these errors were encountered: