bump up batch size to speed up querying
This commit is contained in:
parent
96427136ef
commit
dfb77d3547
1 changed files with 1 additions and 1 deletions
2
db/db.go
2
db/db.go
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue