From 0e948fb1255d07292c2a4b9f0641d7a9f2a09ee1 Mon Sep 17 00:00:00 2001 From: Andrew Waage Date: Tue, 24 May 2016 16:25:30 -0700 Subject: [PATCH] max thread 1 --- lib/github_changelog_generator/generator/generator_fetcher.rb | 2 +- lib/github_changelog_generator/octo_fetcher.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/github_changelog_generator/generator/generator_fetcher.rb b/lib/github_changelog_generator/generator/generator_fetcher.rb index 8f93f62..bf3dc3a 100644 --- a/lib/github_changelog_generator/generator/generator_fetcher.rb +++ b/lib/github_changelog_generator/generator/generator_fetcher.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true module GitHubChangelogGenerator class Generator - MAX_THREAD_NUMBER = 4 + MAX_THREAD_NUMBER = 1 # Fetch event for issues and pull requests # @return [Array] array of fetched issues diff --git a/lib/github_changelog_generator/octo_fetcher.rb b/lib/github_changelog_generator/octo_fetcher.rb index e26b067..4549c59 100644 --- a/lib/github_changelog_generator/octo_fetcher.rb +++ b/lib/github_changelog_generator/octo_fetcher.rb @@ -7,7 +7,7 @@ module GitHubChangelogGenerator class OctoFetcher PER_PAGE_NUMBER = 100 - MAX_THREAD_NUMBER = 4 + MAX_THREAD_NUMBER = 1 CHANGELOG_GITHUB_TOKEN = "CHANGELOG_GITHUB_TOKEN" GH_RATE_LIMIT_EXCEEDED_MSG = "Warning: Can't finish operation: GitHub API rate limit exceeded, change log may be " \ "missing some issues. You can limit the number of issues fetched using the `--max-issues NUM` argument."