From 5fe9010e74bb70ef2a60cc29c359fff69217881e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 14 Mar 2022 20:11:35 +0530 Subject: [PATCH] ... --- src/pyj/read_book/ui.pyj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pyj/read_book/ui.pyj b/src/pyj/read_book/ui.pyj index d7dbb6f463..01c0aa6c57 100644 --- a/src/pyj/read_book/ui.pyj +++ b/src/pyj/read_book/ui.pyj @@ -479,6 +479,8 @@ class ReadUI: for fname in files_left: if fname is not raster_cover_name: count += 1 + # Chrome starts killing AJAX requests if there are too many in flight, unlike Firefox + # which is smart enough to queue them if count < 20: start_download(fname, base_path + encodeURIComponent(fname).replace(/%2[fF]/g, '/')) else: