Skip to content
Snippets Groups Projects
Commit 9f530c15 authored by Cam Saul's avatar Cam Saul
Browse files

cleanup

parent 07b0da5d
No related branches found
No related tags found
No related merge requests found
......@@ -78,16 +78,6 @@
:delay-exponent 1.5
:attempt-ttl-ms (* 1000 60 60)})
;;
;;
;;
;; Then call `check` within the body of an endpoint with some value to apply throttling.
;;
;; (defendpoint POST [:as {{:keys [email]} :body}]
;; (throttle/check email-throttler email)
;; ...)
(defn make-throttler
"Create a new `Throttler`.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment