Open norbertogomez opened 3 years ago
I think this is related to https://github.com/gosuri/uiprogress/issues/40 @romnn
Specifically when initializing a UI progress bar in https://github.com/romnn/mongoimport/blob/4b28142843284f4c870f40c196e55bea22c9c773/import.go#L79, you might use uip := uiprogress.New()
instead
Using your solution as part of a repository in a web server, the first API call does the import in a successful way. On the second call, looks like the library is trying to close an already closed channel.
The error I am getting:
The way I use the mongoimport library:
After a debugging session, I think the issue could be in here