I'm developing a UI application using MarkLogic Grove (React).
I'm calling the REST API from the UI, but it times out in 2 minutes.
I want to change this timeout of 2 minutes, how can I change it on Grove?
I changed the timeout to 10 minutes in the source below and restarted, but the timeout occurred in 2 minutes.
middle-tier/grove-node-server/node-server.js
---------------------------------
…
server.timeout = 600*1000;
return server;
};
return provide;
})();