split databases
This commit is contained in:
@@ -10,7 +10,6 @@ class Config(ComboParser):
|
||||
super(Config, self).__init__('config.ini')
|
||||
section = 'common'
|
||||
self.add_item(section, 'tor_hosts', str, '127.0.0.1:9050', 'comma-separated list of tor proxy address(es)', True)
|
||||
self.add_item(section, 'database', str, 'proxylist.sqlite', 'filename of database', True)
|
||||
|
||||
section = 'watchd'
|
||||
self.add_item(section, 'max_fail', int, 5, 'number of fails after which a proxy is considered dead', False)
|
||||
@@ -21,6 +20,7 @@ class Config(ComboParser):
|
||||
self.add_item(section, 'use_ssl', bool, False, 'whether to use SSL and port 6697 to connect to targets (slower)', False)
|
||||
self.add_item(section, 'checktime', int, 1800, 'base checking interval for proxies in db in seconds', False)
|
||||
self.add_item(section, 'perfail_checktime', int, 3600, 'additional checking interval for proxies in db in seconds per experienced failure', False)
|
||||
self.add_item(section, 'database', str, 'websites.sqlite', 'filename of database', True)
|
||||
|
||||
section = 'ppf'
|
||||
self.add_item(section, 'search', bool, True, 'whether to use searx search engine to find new proxy lists', False)
|
||||
@@ -28,3 +28,4 @@ class Config(ComboParser):
|
||||
self.add_item(section, 'http_retries', int, 1, 'number of retries for http connects', False)
|
||||
self.add_item(section, 'checktime', int, 3600, 'base checking interval for urls in db in seconds', False)
|
||||
self.add_item(section, 'perfail_checktime', int, 3600, 'additional checking interval for urls in db in seconds per experienced failure', False)
|
||||
self.add_item(section, 'database', str, 'proxies.sqlite', 'filename of database', True)
|
||||
|
||||
Reference in New Issue
Block a user