config to share debug info with lbry devs
This commit is contained in:
parent
8dbadbd75b
commit
1a562d70aa
1 changed files with 4 additions and 0 deletions
|
@ -197,6 +197,7 @@ ADJUSTABLE_SETTINGS = {
|
|||
'run_on_startup': (bool, False),
|
||||
'run_reflector_server': (bool, False),
|
||||
'sd_download_timeout': (int, 3),
|
||||
'share_debug_info': (bool, True), # whether to share diagnostic info with LBRY
|
||||
'peer_search_timeout': (int, 3),
|
||||
'search_servers': (list, ['lighthouse1.lbry.io:50005']),
|
||||
'search_timeout': (float, 5.0),
|
||||
|
@ -388,6 +389,9 @@ class Config(object):
|
|||
del settings_dict['API_INTERFACE']
|
||||
if 'startup_scripts' in settings_dict:
|
||||
del settings_dict['startup_scripts']
|
||||
if 'upload_log' in settings_dict:
|
||||
settings_dict['share_debug_info'] = settings_dict['upload_log']
|
||||
del settings_dict['upload_log']
|
||||
for key in settings_dict.keys():
|
||||
if not self._is_valid_setting(key):
|
||||
log.warning('Ignoring invalid conf file setting: %s', key)
|
||||
|
|
Loading…
Reference in a new issue