u-ichi / fluent-plugin-mail

Fluentd output plugin to send mail
https://rubygems.org/gems/fluent-plugin-mail
Other
48 stars 20 forks source link

Change superclass to prevent mail bomb #19

Closed sett4 closed 9 years ago

sett4 commented 9 years ago
sonots commented 9 years ago

I can't merge this because this changes lots of the current behaviors

sonots commented 9 years ago

Another approach is required to suppress mail bomb like sending an email per minute.

sett4 commented 9 years ago

this PR sends a mail per minute. BufferedOutput plugin called write() method every 60s (default value of flush_interval). and squash option squashes mails into a mail (default off).

I agree with yoru comment. this PR canges current behaviors. sending timing will change.