Skip to content

Commit

Permalink
match our current riemann expiration
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenet committed Jan 28, 2025
1 parent 7aeee8c commit cdb2320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spootnik/reporter/alert.clj
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

(defn alert->payload
[{:as _alert :keys [name labels annotations generator-url delay-after-ms]
:or {delay-after-ms (* 60 1000 15)}}]
:or {delay-after-ms (* 60 1000 5)}}]
(let [t (Instant/now)]
(cond-> {:startsAt (str t)
:endsAt (str (.plusMillis t (* delay-after-ms)))
Expand Down

0 comments on commit cdb2320

Please sign in to comment.