synbiohub icon indicating copy to clipboard operation
synbiohub copied to clipboard

Opening a file with too many annotations/annotations with the same name

Open jhletendre opened this issue 7 years ago • 1 comments

After successfully uploading a file, it would not open and I receive the 504 Gatway Timeout Error. I was wondering if this is due to the size of the file (22 kB) which does not seem unreasonable, or the number/convention of the annotations?

jhletendre avatar Sep 29 '17 14:09 jhletendre

The issue related to the resolveBatch size in the config.json, which was set to 50. This created a SPARQL query that was too large. Reducing the resolveBatch size to 20 solved this problem. However, longer term a better approach would be to dynamically reduce the resolve batch as needed when the size of the query exceeds the limit.

cjmyers avatar Sep 30 '17 19:09 cjmyers