diff --git a/src/builder/trapi_query_builder.js b/src/builder/trapi_query_builder.js index 488faf6..7f67ddf 100644 --- a/src/builder/trapi_query_builder.js +++ b/src/builder/trapi_query_builder.js @@ -76,7 +76,7 @@ module.exports = class TRAPIQueryBuilder { url: this._getUrl(this.edge, input), data: this._getRequestBody(this.edge, input), method: this.edge.query_operation.method, - timeout: 3000, + timeout: 10000, headers: { 'Content-Type': 'application/json' }, diff --git a/src/query.js b/src/query.js index 6af3bfb..0263dad 100644 --- a/src/query.js +++ b/src/query.js @@ -134,8 +134,9 @@ module.exports = class APIQueryDispathcer { if (enable === false) { res = resolver.generateInvalidBioentities(grpedIDs); } else { - const biomedical_resolver = new resolver.Resolver("biolink"); - res = await biomedical_resolver.resolve(grpedIDs); + // const biomedical_resolver = new resolver.Resolver("biolink"); + // res = await biomedical_resolver.resolve(grpedIDs); + res = await resolver.resolveSRI(grpedIDs); } result.map(item => { if (item && item !== undefined) {