Email Throttle limit is not configurable

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • email-ext:1849.v6dd03b_f6e423

      A new Throttle feature was added to the Email Extension plugin in version 1806.v856a_01a_fa_39a_ by https://github.com/jenkinsci/email-ext-plugin/pull/458. But the throttle is not configurable.

      The throttle is for 100 email an hour. In some environment, this limit is too short. But at the moment not configurable and this produces an unexpected Could not send email. Throttling limit exceeded. errors upon upgrade to this version of the plugin.

      The throttling settings should be configurable.

      Workaround

      As suggested in the PR, the use the following script:

      import hudson.plugins.emailext.EmailThrottler;
      EmailThrottler.instance = new EmailThrottler() {
        public synchronized boolean isThrottlingLimitExceeded() {
          return false;
        }
      }
      return
      

      This should work live and could be used as a Post Init groovy script as well.

            Assignee:
            Alex Earl
            Reporter:
            Allan BURDAJEWICZ
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: