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