From a0cc15b5d8b4a66840feca546e2e7c174363d997 Mon Sep 17 00:00:00 2001 From: Chubby Granny Chaser Date: Thu, 27 Jun 2024 18:52:53 +0100 Subject: [PATCH] feat: increasing healthcheck duration --- src/main/services/download/torrent-downloader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/services/download/torrent-downloader.ts b/src/main/services/download/torrent-downloader.ts index 0ea4f01d..d54e607a 100644 --- a/src/main/services/download/torrent-downloader.ts +++ b/src/main/services/download/torrent-downloader.ts @@ -45,7 +45,7 @@ export class TorrentDownloader { throw new Error("Failed to connect to libtorrent client"); } - await sleep(200); + await sleep(1000); return this.healthCheck(retries - 1); }