Limit initial repos request to 20 repos

This commit is contained in:
Piotr Sarnacki 2015-12-10 11:19:24 +01:00
parent b950b60c64
commit 048e7737ea

View File

@ -132,7 +132,7 @@ Repo.reopenClass
)
promise = new Ember.RSVP.Promise (resolve, reject) ->
store.query('repo', { 'repository.active': 'true' }).then( ->
store.query('repo', { 'repository.active': 'true', limit: 20 }).then( ->
resolve(repos)
, ->
reject()