From beffcd0a333f68621dc80a0c5418208e73fda954 Mon Sep 17 00:00:00 2001 From: Roman Chyla Date: Mon, 28 Dec 2015 14:24:04 -0500 Subject: [PATCH] Fixed the 502 gateway error; when orcid profile is too big (many ids) --- src/js/modules/orcid/orcid_api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/modules/orcid/orcid_api.js b/src/js/modules/orcid/orcid_api.js index 1a05f91f0..dc2dedc2a 100644 --- a/src/js/modules/orcid/orcid_api.js +++ b/src/js/modules/orcid/orcid_api.js @@ -83,7 +83,7 @@ define([ this.profile = {}; this.checkInterval = 3600 * 1000; this.virgin = true; - this.maxQuerySize = 512; + this.maxQuerySize = 100; this.queryUpdater = new ApiQueryUpdater('orcid_api'); this.orcidApiTimeout = 5000; //5seconds },