remove size limit in toListPosgres to accomodate users with access to many repositories
This commit is contained in:
parent
524fba6253
commit
be0ee06019
1 changed files with 0 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue