Add specs for rate limit options
This commit is contained in:
parent
a63f170ace
commit
52e43fe23c
1 changed files with 5 additions and 1 deletions
|
@ -42,6 +42,8 @@
|
|||
(s/def ::mailer-pw pred/bash-env-string?)
|
||||
(s/def ::issuer pred/letsencrypt-issuer?)
|
||||
(s/def ::volume-total-storage-size (partial pred/int-gt-n? 5))
|
||||
(s/def ::average int?)
|
||||
(s/def ::burst int?)
|
||||
|
||||
(def config? (s/keys :req-un [::fqdn
|
||||
::mailer-from
|
||||
|
@ -51,7 +53,9 @@
|
|||
:opt-un [::issuer
|
||||
::deploy-federated
|
||||
::default-app-name
|
||||
::service-domain-whitelist]))
|
||||
::service-domain-whitelist
|
||||
::average
|
||||
::burst]))
|
||||
|
||||
(def auth? (s/keys :req-un [::postgres/postgres-db-user ::postgres/postgres-db-password ::mailer-user ::mailer-pw]))
|
||||
|
||||
|
|
Loading…
Reference in a new issue