[Fixes: #13582] Increase cooldown on sending request
This commit is contained in:
parent
7c3980a04e
commit
8a36ee8761
|
@ -24,7 +24,7 @@
|
||||||
[status-im.ui.components.accordion :as accordion]
|
[status-im.ui.components.accordion :as accordion]
|
||||||
[status-im.ui.screens.communities.styles :as styles]))
|
[status-im.ui.screens.communities.styles :as styles]))
|
||||||
|
|
||||||
(def request-cooldown-ms (* 60 1000))
|
(def request-cooldown-ms (* 24 60 60 1000))
|
||||||
|
|
||||||
(defn can-request-access-again? [requested-at]
|
(defn can-request-access-again? [requested-at]
|
||||||
(> (datetime/timestamp) (+ (* requested-at 1000) request-cooldown-ms)))
|
(> (datetime/timestamp) (+ (* requested-at 1000) request-cooldown-ms)))
|
||||||
|
|
Loading…
Reference in New Issue