Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
@mchaudhary @mostlyjason, I looked at the PR #14 and used the clearInterval() in our library to clear open interval for sendBufferdLogstoLoggly() function but using clearInterval() function only for buffer function did not help to overcome the callback issue. I used the clearInterval() function for both sendBulkLogs() and sendBufferdLogstoLoggly() functions then the callback error was removed. I ran the application continue for 30 minutes but the error did not occur. Before it was occurring in less than a minute.
I tested in below scenarios:
In both Bulk and Input mode with below conditions-
(a) Sending a single event (Worked Fine)
(b) Sending events in a loop (Worked Fine)
(c) Sending events continuous in a loop at a specific interval (Worked Fine)
In Network Outage case. (Worked Fine)
This PR will resolve the issue loggly/winston-loggly-bulk#13
Please review.