Skip to content

Commit 6317078

Browse files
committed
increase per_page from the default of 30 to 100 (should be a huge performance bump for large orgs)
1 parent 3c13647 commit 6317078

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/entitlements/service/github.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ def octokit
163163
client = Octokit::Client.new(access_token: token)
164164
client.api_endpoint = addr if addr
165165
client.auto_paginate = true
166+
client.per_page = 100
166167
Entitlements.logger.debug "Setting up GitHub API connection to #{client.api_endpoint}"
167168
client
168169
end

0 commit comments

Comments
 (0)