Skip to content

Commit

Permalink
perf: fetch last 50 repos by push date
Browse files Browse the repository at this point in the history
  • Loading branch information
vladholubiev committed Aug 12, 2019
1 parent e211946 commit cff2691
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/view-releases/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ module.exports.getOrgReleases = async function(org) {
} = await gh.query({
query: gql`
{
organization(login: "${org}", isLocked: false, privacy: PRIVATE) {
repositories(last: 100) {
organization(login: "${org}") {
repositories(last: 50, isLocked: false, privacy: PRIVATE, orderBy: {field: PUSHED_AT, direction: DESC}) {
edges {
node {
name
Expand Down

0 comments on commit cff2691

Please sign in to comment.