From 5c9a8d0e42762368149f5b1712d91ed7aa2dc663 Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Wed, 24 Jul 2024 16:42:05 +0200 Subject: decrease max-async-requests to deal with rate-limiting --- local/bibli-paris/bibli-paris.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/local/bibli-paris/bibli-paris.el b/local/bibli-paris/bibli-paris.el index 5419816..527b5b1 100644 --- a/local/bibli-paris/bibli-paris.el +++ b/local/bibli-paris/bibli-paris.el @@ -29,8 +29,10 @@ (concat bibli-paris/base-url "Default/doc/SYRACUSE/") "The base URL of an entry's webpage.") +;; The website seems to be doing rate-limiting hence the low value. +;; In practice this one seems to work, I don't know what the exact limit is. (defvar bibli-paris/max-async-requests - 250 + 16 "The maximum number of concurrent requests.") (defvar bibli-paris/async-requests-smp -- cgit v1.2.3