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.
Clear timerFunctionForBufferedLogs if not needed #14
Conversation
This is an example of a fix for loggly/winston-loggly-bulk#12 with a small amount of code change. Note that these lines: ``` if (timerFunction === null) { timerFunction = setInterval(function () { sendBulkLogs(); },30000); } ``` produce the same bug when `isBulk` is `true`. See loggly/winston-loggly-bulk#13
|
I believe this was merged in #16. Closing this PR. |
This is an example of a fix for loggly/winston-loggly-bulk#12 with a small amount of code change.
Please note that these lines in
common.js:node-loggly-bulk/lib/loggly/common.js
Lines 205 to 210 in ea91822
produce the same bug when
isBulkistrue.See loggly/winston-loggly-bulk#13. This PR does not address that just in case you would like to implement a better timing solution than using
setInterval. I would consider this fix temporary if merged.Thanks!