Closed Aazhar closed 2 years ago
Hi @Aazhar !
I was not able to reproduce the error but I think it would be due to the fact that the healthcheck method open LMDB environments (with handle to all db) for every call, without closing them. As the first one for service is started when the server is launched, the rest of the API will still works.
I pushed a fix where the first opened storage environment is reused in the healthcheck, so it is like calling localhost:8080/service/data.
Ideally it would be nice to have the healthcheck method as a normal endpoint (:8080) and not under the adminstrative port (:8081) Thanks !
Hello
We try to use the healthcheck endpoint, but after a dozen of requests , this error appears :
even though this error appears, the API still work .
Cheers