mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 09:20:31 +00:00
remove size limit in toList
This commit is contained in:
parent
be0ee06019
commit
0ace6aefd6
1 changed files with 0 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue