mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-24 16:17:14 +00:00
feat: pg migration, more tables
This commit is contained in:
1 parent
cada1a44fc
commit
502819ae52
36 files changed
+1929
-87
No files matched your search
@@ -77,7 +77,7 @@ class GitHubLoader(BaseRemote):
|
||||
def _make_request(self, url: str, max_retries: int = 3) -> requests.Response:
|
||||
"""Make a request with retry logic for rate limiting"""
|
||||
for attempt in range(max_retries):
|
||||
response = requests.get(url, headers=self.headers)
|
||||
response = requests.get(url, headers=self.headers, timeout=100)
|
||||
|
||||
if response.status_code == 200:
|
||||
return response
|
||||
|
||||
Reference in new issue
Block a user