Skip to content

Commit

Permalink
Merge pull request #316 from HebaruSan/fix/graphql-smaller-groups
Browse files Browse the repository at this point in the history
Fewer mods per GraphQL pass in DownloadCounter
  • Loading branch information
HebaruSan authored Sep 8, 2023
2 parents cdb4ec7 + 15dae04 commit 251c74c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ permissions:

jobs:
coverage:
if: false
runs-on: ubuntu-latest
defaults:
run:
Expand Down
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 251c74c

Please sign in to comment.