From a53c1aae59f5b92c618fa42ad2e990469c6fc2ca Mon Sep 17 00:00:00 2001 From: Benoit Pierre Date: Tue, 27 May 2025 22:32:20 +0200 Subject: [PATCH] calibre: increase no-activity timeout (#13846) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Calibre does not send the expected regular "NOOP" pings during its "Analyzing books on the device…" phase, and that operation can take a long time (75s for 4500 books on a recent machine). --- plugins/calibre.koplugin/wireless.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/calibre.koplugin/wireless.lua b/plugins/calibre.koplugin/wireless.lua index 58f39498c..c972ff947 100644 --- a/plugins/calibre.koplugin/wireless.lua +++ b/plugins/calibre.koplugin/wireless.lua @@ -337,7 +337,7 @@ function CalibreWireless:connect() -- Heartbeat monitoring… while ok and not self.disconnected_by_server do - ok = resume_in(15) + ok = resume_in(5 * 60) end local msg