Node.js based forum software built for the modern web
test: add timeout to ap.helpers.query
Barış Soner Uşaklı8f7411c3aaef
diff --git a/src/activitypub/helpers.js b/src/activitypub/helpers.jsindex 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;}