From 0ace6aefd69d825daf1a4d15e2968261262d86ec Mon Sep 17 00:00:00 2001 From: Marius Grigoriu Date: Fri, 2 Sep 2016 04:24:32 -0700 Subject: [PATCH] remove size limit in toList --- store/datastore/utils.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/store/datastore/utils.go b/store/datastore/utils.go index aa697c0d8..dacc6d226 100644 --- a/store/datastore/utils.go +++ b/store/datastore/utils.go @@ -40,10 +40,6 @@ func rebind(query string) string { // to a sql IN statment. func toList(listof []*model.RepoLite) (string, []interface{}) { var size = len(listof) - if size > 999 { - size = 999 - listof = listof[:999] - } var qs = make([]string, size, size) var in = make([]interface{}, size, size) for i, repo := range listof {