mirror of
https://github.com/status-im/timbre.git
synced 2025-02-27 10:30:38 +00:00
CONFIG CHANGE: Bump aggressiveness of Postal appender's default rate-limiter.
This commit is contained in:
parent
0591e85418
commit
ba78e67902
@ -12,7 +12,7 @@
|
|||||||
^{:host \"mail.isp.net\" :user \"jsmith\" :pass \"sekrat!!1\"}
|
^{:host \"mail.isp.net\" :user \"jsmith\" :pass \"sekrat!!1\"}
|
||||||
{:from \"Bob's logger <me@draines.com>\" :to \"foo@example.com\"}")
|
{:from \"Bob's logger <me@draines.com>\" :to \"foo@example.com\"}")
|
||||||
:min-level :error :enabled? true :async? true
|
:min-level :error :enabled? true :async? true
|
||||||
:max-message-per-msecs (* 60 60 2)
|
:max-message-per-msecs (* 1000 60 10) ; 1 email per message per 10 mins
|
||||||
:fn (fn [{:keys [ap-config more] :as args}]
|
:fn (fn [{:keys [ap-config more] :as args}]
|
||||||
(when-let [postal-config (:postal ap-config)]
|
(when-let [postal-config (:postal ap-config)]
|
||||||
(postal/send-message
|
(postal/send-message
|
||||||
|
Loading…
x
Reference in New Issue
Block a user