Page MenuHomeSoftware Heritage

Don't count origins len(url) times when calling origin_add_one
ClosedPublic

Authored by olasd on Mar 18 2020, 6:18 PM.

Details

Summary

I guess the origins variable name was carried over from a refactoring, but it
doesn't match what db.origin_add actually returns. Overall this variable name
made us overcount origins a little.

Test Plan

yes, this should probably be tested

Diff Detail

Repository
rDSTO Storage manager
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.