moving to release with better settings and onboarding
This commit is contained in:
parent
09617dc563
commit
68074d4dd8
9 changed files with 23 additions and 15 deletions
|
@ -44,6 +44,9 @@ def set_config_from_onboarding(config_settings: OnboardingConfig):
|
|||
'networkContrib'):
|
||||
config.set('general.security_level', 1)
|
||||
|
||||
if get(config_settings, 'localThreat'):
|
||||
config.set('general.security_level', 3)
|
||||
|
||||
config.set('ui.theme', 'light')
|
||||
if get(config_settings, 'useDark'):
|
||||
config.set('ui.theme', 'dark')
|
||||
|
|
|
@ -50,8 +50,7 @@ WSGI_SERVER_REQUEST_TIMEOUT_SECS = 120
|
|||
MAX_NEW_PEER_QUEUE = 1000
|
||||
|
||||
# Begin OnionrValues migrated values
|
||||
"""Make announce take a few seconds (on average) to compute to discourage excessive node announcements"""
|
||||
ANNOUNCE_POW = 6
|
||||
|
||||
"""30 days is plenty of time for someone to decide to renew a block"""
|
||||
DEFAULT_EXPIRE = 2592000
|
||||
# Metadata header section length limits, in bytes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue