From 488ce878b33c58a6825b2177e67077e8aa6bd8af Mon Sep 17 00:00:00 2001 From: Joachim Hill-Grannec Date: Sat, 11 Feb 2017 12:12:34 -0800 Subject: [PATCH] =?UTF-8?q?Doesn=E2=80=99t=20need=20to=20check=20for=20SQL?= =?UTF-8?q?ite=20again=20the=20the=20Progres=20list?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- store/datastore/utils.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/store/datastore/utils.go b/store/datastore/utils.go index 0a0ce27db..e2345dd32 100644 --- a/store/datastore/utils.go +++ b/store/datastore/utils.go @@ -61,11 +61,7 @@ func toList(listof []*model.RepoLite) (string, []interface{}) { // to a sql IN statement compatible with postgres. func toListPostgres(listof []*model.RepoLite) (string, []interface{}) { var size = len(listof) - switch { - case meddler.Default == meddler.SQLite && size > 999: - size = 999 - listof = listof[:999] - case size > 15000: + if size > 15000 { size = 15000 listof = listof[:15000] }