From be0ee0601925a36049015db931e3e0025a62cf4d Mon Sep 17 00:00:00 2001 From: Marius Grigoriu Date: Wed, 31 Aug 2016 15:20:25 -0700 Subject: [PATCH] remove size limit in toListPosgres to accomodate users with access to many repositories --- store/datastore/utils.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/store/datastore/utils.go b/store/datastore/utils.go index 1d4ca8b7e..aa697c0d8 100644 --- a/store/datastore/utils.go +++ b/store/datastore/utils.go @@ -57,10 +57,6 @@ func toList(listof []*model.RepoLite) (string, []interface{}) { // to a sql IN statement compatible with postgres. func toListPosgres(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 {