Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear timerFunctionForBufferedLogs if not needed #14

Closed
wants to merge 1 commit into from

Commits on Aug 12, 2017

  1. Clear timerFunctionForBufferedLogs if not needed

    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
    btamayo committed Aug 12, 2017
You can’t perform that action at this time.