bump up batch size to speed up querying

This commit is contained in:
Alex Grintsvayg 2019-06-25 08:44:30 -04:00
parent 96427136ef
commit dfb77d3547
No known key found for this signature in database
GPG key ID: AEB3F089F86A22B5

View file

@ -100,7 +100,7 @@ func (s *SQL) HasBlobs(hashes []string) (map[string]bool, error) {
var hash string
exists := make(map[string]bool)
maxBatchSize := 100
maxBatchSize := 10000
doneIndex := 0
for len(hashes) > doneIndex {