From f6617732a5ac72010e7aff7e7fb3ceb85580acd6 Mon Sep 17 00:00:00 2001 From: matthew Date: Sun, 23 Oct 2022 22:20:24 +0400 Subject: [PATCH] try to fix watcher --- searching-front/services/domain-watcher.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/searching-front/services/domain-watcher.ts b/searching-front/services/domain-watcher.ts index d4cd4be..3224b12 100644 --- a/searching-front/services/domain-watcher.ts +++ b/searching-front/services/domain-watcher.ts @@ -75,6 +75,7 @@ const fetchTonSite = async (url: string) => { const urlToFetch = `http://${url}/` const response = await axios.get(urlToFetch, { proxy: getTonProxy(), + timeout: 30000 }) if (!response.data) { console.log("Error fetch")