Skip to content

Commit

Permalink
doc: fix syscalls file download
Browse files Browse the repository at this point in the history
Github is not reliable and often returns "429: Too Many Requests" so we
switch to kernel.org to download syscalls file which is more reliable.

Signed-off-by: Andrea Cervesato <[email protected]>
  • Loading branch information
acerv committed Dec 10, 2024
1 parent 7bb960c commit b5e2ea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def generate_syscalls_stats(_):
try:
socket.setdefaulttimeout(3)
urllib.request.urlretrieve(
"https://raw.githubusercontent.com/torvalds/linux/master/arch/mips/kernel/syscalls/syscall_n64.tbl",
"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/arch/mips/kernel/syscalls/syscall_n64.tbl",
"syscalls.tbl")
except Exception as err:
error = True
Expand Down

0 comments on commit b5e2ea3

Please sign in to comment.