From 8f7411c3aaeff614a17d56197efc191c21ee1738 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 27 Aug 2025 13:08:19 -0400 Subject: [PATCH] test: add timeout to ap.helpers.query --- src/activitypub/helpers.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/activitypub/helpers.js b/src/activitypub/helpers.js index ad45b67910..cb6772a408 100644 --- a/src/activitypub/helpers.js +++ b/src/activitypub/helpers.js @@ -113,8 +113,10 @@ Helpers.query = async (id) => { headers: { accept: 'application/jrd+json', }, + timeout: 5000, })); } catch (e) { + console.log('webfinger error', e.message); return false; }