We are using Wikibrain library and we are building a API for our apps to consume it. When we hit the API Server multitimes, then after few request it crashes saying that it unable to connect to DB (we use postgres). When I try to connect using a Standalone client, even that is not connecting because the Postgres reached maximum allowed connection.
How do I make wikibrain library to close the DB connection at the end of every request.
And second question, We use similarity in semantic relatedness library. When we use "milnewitten" then library returns some values. But not able to use other metrics. How can we make it work for all metrics.
regards,
Jay