Skip to content

Commit 1b05297

Browse files
authored
Update detect.py
1 parent 43e2bc5 commit 1b05297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

detect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
def run_query(query, variables):
66
headers = {"Authorization": f"Bearer {os.environ['GITHUB_TOKEN']}"}
7-
request = requests.post('https://api.github.com/graphql', json={'query': query, 'variables': variables}, headers=headers)
7+
request = requests.post('https://api.github.com/graphql', json={'query': query, 'variables': variables}, headers=headers, timeout=60)
88
if request.status_code == 200:
99
return request.json()
1010
else:

0 commit comments

Comments
 (0)