mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
test: add timeout to ap.helpers.query
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user