pinojs / pino-mongodb

:evergreen_tree: Insert JSON from stdin into MongoDB
MIT License
54 stars 18 forks source link

Exit pino-mongodb when stdin is closed #119

Closed Tarrask closed 2 years ago

Tarrask commented 2 years ago

fix #13, There is 2 case to take into account :

I'm really not sure if keeping track of the unresolved promises using a counter is the best way to handle that. @mcollina is that an acceptable solution ?

Tarrask commented 2 years ago

Hi, should I do something more before merging this ?