Skip to content

Commit a40bfa8

Browse files
committed
Trying a temporary fix for data lost to RESOURCE_LIMITS_EXCEEDED GraphQL errors.
1 parent dc7bcfc commit a40bfa8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

_visualize/scripts/get_repos_info.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from scraper.github import queryManager as qm
22
from os import environ as env
3+
import time # FIXME temporary fix attempt
34

45
ghDataDir = env.get("GITHUB_DATA", "../github-data")
56
datfilepath = "%s/intReposInfo.json" % ghDataDir
@@ -24,6 +25,7 @@
2425
print("\n'%s'" % (org))
2526

2627
try:
28+
time.sleep(1.2) # FIXME temporary fix attempt
2729
outObj = queryMan.queryGitHubFromFile(
2830
queryPath,
2931
{"orgName": org, "numRepos": 50, "pgCursor": None},

0 commit comments

Comments
 (0)