HomeSoftware Heritage

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

Description

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

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.

Details

Provenance
olasdAuthored on Mar 18 2020, 6:07 PM
olasdPushed on Mar 18 2020, 6:24 PM
Differential Revision
D2850: Don't count origins len(url) times when calling origin_add_one
Parents
rDSTO209de5dbaa12: Serialize objstorage and database writes in content_add
Branches
Unknown
Tags
Unknown
Build Status
Buildable 11209
Build 16926: test-and-buildJenkins