Closed Shwetajain148 closed 6 years ago
Any ETA when this will be merged ? We have error Callback was already called.
and will be very happy to see this issue fixed.
Same here, we'd love to see this merged!
Hey everyone, we apologize for the delay in processing this PR. I'm working right now on making sure it's brought to the right people's attention to be fixed ASAP.
@mchaudhary Will there be a patch version bump to release this change? The current version 2.2.1 was updated 3 months ago. Thanks.
@mchaudhary @mostlyjason In this PR, I have modified the entire error retry logic and have covered the below points:
Also, I took a reference of retry logic from here: https://github.com/logzio/logzio-nodejs/blob/master/lib/logzio-nodejs.js#L248-L258.
I checked the library behavior after these changes in a continue logging environment for about 8 hours and did not see any callback error. The issue is related to https://github.com/loggly/winston-loggly-bulk/issues/13.
Update: I also tested the library code in both bulk & input mode for 15 days in a continue event logging environment. My node application did not break with any error.
Please review the changes.