diff --git a/app/scripts/background/githubService.js b/app/scripts/background/githubService.js index 8759a9b..2ad57d4 100644 --- a/app/scripts/background/githubService.js +++ b/app/scripts/background/githubService.js @@ -127,7 +127,7 @@ class GithubService { } static cuesToGraphQLQuery (cues) { - return `query { + return `query Repositories { ${cues.map(GithubService.cueToGraphQLQuery).join('\n')} }` } diff --git a/app/scripts/contentscript.js b/app/scripts/contentscript.js index 5e702d0..84395c4 100644 --- a/app/scripts/contentscript.js +++ b/app/scripts/contentscript.js @@ -12,7 +12,7 @@ import { log, logError } from './common' import UpdateNotification from './components/UpdateNotification' import StarHOC from './components/StarHOC' -const CHUNK_SIZE = 100 +const CHUNK_SIZE = 50 const GITHUB_ISSUES_URL_PATTERN = /https:\/\/github\.com\/(.+?)\/issues\/(\d+)/ const GITHUB_ISSUES_LINKS_LIMIT = 1000