mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
chore: limit list of projects to 200
This commit is contained in:
parent
5a0c9b8e8b
commit
269baf09fc
@ -27,6 +27,7 @@ func (d *SqlDb) GetAllProjects() (projects []db.Project, err error) {
|
||||
query, args, err := squirrel.Select("p.*").
|
||||
From("project as p").
|
||||
OrderBy("p.name").
|
||||
Limit(200).
|
||||
ToSql()
|
||||
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user