Set maximum number of attempts in config
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
This commit is contained in:
parent
0462426b97
commit
d32f81bbff
|
@ -7,7 +7,7 @@ FLEET=eth.beta
|
||||||
GROUP_CHATS_ENABLED=1
|
GROUP_CHATS_ENABLED=1
|
||||||
LOG_LEVEL_STATUS_GO=
|
LOG_LEVEL_STATUS_GO=
|
||||||
LOG_LEVEL=info
|
LOG_LEVEL=info
|
||||||
MAILSERVER_CONFIRMATIONS_ENABLED=0
|
MAILSERVER_CONFIRMATIONS_ENABLED=1
|
||||||
MAINNET_WARNING_ENABLED=1
|
MAINNET_WARNING_ENABLED=1
|
||||||
PFS_ENCRYPTION_ENABLED=1
|
PFS_ENCRYPTION_ENABLED=1
|
||||||
PFS_TOGGLE_VISIBLE=0
|
PFS_TOGGLE_VISIBLE=0
|
||||||
|
|
|
@ -122,6 +122,7 @@
|
||||||
:EnableNTPSync true}
|
:EnableNTPSync true}
|
||||||
:ShhextConfig {:BackupDisabledDataDir (utils.platform/no-backup-directory)
|
:ShhextConfig {:BackupDisabledDataDir (utils.platform/no-backup-directory)
|
||||||
:InstallationID installation-id
|
:InstallationID installation-id
|
||||||
|
:MaxMessageDeliveryAttempts config/max-message-delivery-attempts
|
||||||
:MailServerConfirmations config/mailserver-confirmations-enabled?
|
:MailServerConfirmations config/mailserver-confirmations-enabled?
|
||||||
:PFSEnabled true}
|
:PFSEnabled true}
|
||||||
:RequireTopics (get-topics network))
|
:RequireTopics (get-topics network))
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
(def erc20-contract-warnings-enabled? (enabled? (get-config :ERC20_CONTRACT_WARNINGS)))
|
(def erc20-contract-warnings-enabled? (enabled? (get-config :ERC20_CONTRACT_WARNINGS)))
|
||||||
(def partitioned-topic-enabled? (enabled? (get-config :PARTITIONED_TOPIC "0")))
|
(def partitioned-topic-enabled? (enabled? (get-config :PARTITIONED_TOPIC "0")))
|
||||||
(def tr-to-talk-enabled? (enabled? (get-config :TRIBUTE_TO_TALK 0)))
|
(def tr-to-talk-enabled? (enabled? (get-config :TRIBUTE_TO_TALK 0)))
|
||||||
|
(def max-message-delivery-attempts (js/parseInt (get-config :MAX_MESSAGE_DELIVERY_ATTEMPTS "6")))
|
||||||
|
|
||||||
;; CONFIG VALUES
|
;; CONFIG VALUES
|
||||||
(def log-level
|
(def log-level
|
||||||
|
|
Loading…
Reference in New Issue