test: add timeout to ap.helpers.query

This commit is contained in:
Barış Soner Uşaklı
2025-08-27 13:08:19 -04:00
parent 8e160fe05e
commit 8f7411c3aa

View File

@@ -113,8 +113,10 @@ Helpers.query = async (id) => {
headers: { headers: {
accept: 'application/jrd+json', accept: 'application/jrd+json',
}, },
timeout: 5000,
})); }));
} catch (e) { } catch (e) {
console.log('webfinger error', e.message);
return false; return false;
} }