synbiohub
synbiohub copied to clipboard
Opening a file with too many annotations/annotations with the same name
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?
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.