Skip to content

Commit

Permalink
Fewer mods per GraphQL pass in DownloadCounter
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Sep 8, 2023
1 parent cdb4ec7 commit e8b69bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netkan/netkan/download_counter.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class GraphQLQuery:
GITHUB_API = 'https://api.github.com/graphql'

# Get this many modules per request
MODULES_PER_GRAPHQL = 40
MODULES_PER_GRAPHQL = 20

# The request we send to GitHub, with a parameter for the module specific section
GRAPHQL_TEMPLATE = Template(read_text('netkan', 'downloads_query.graphql'))
Expand Down

0 comments on commit e8b69bc

Please sign in to comment.