In a long-running process, when I create new Impit instances repeatedly, the number of open handles (file descriptors) keeps increasing.
Even after the requests have finished, the OS-level handles (sockets) are not released, and eventually the process hits system limits with errors like “too many open files”.
I could not find any documented or exposed close() / destroy() / shutdown() API for the nodejs client, so it’s unclear how an Impit instance is supposed to be properly cleaned up.
In a long-running process, when I create new Impit instances repeatedly, the number of open handles (file descriptors) keeps increasing.
Even after the requests have finished, the OS-level handles (sockets) are not released, and eventually the process hits system limits with errors like “too many open files”.
I could not find any documented or exposed close() / destroy() / shutdown() API for the nodejs client, so it’s unclear how an Impit instance is supposed to be properly cleaned up.