#-*- conding:utf-8 -*-
REDIS_HOST = '127.0.0.1'
REDIS_PORT = 6379
REDIS_PASSWORD = None
REDIS_KEY = 'proxies'

MAX_SCORE = 100
MIN_SCORE = 0
INITIAL_SCORE = 10

VALID_STATUS_CODES = [200, 302]

POOL_UPPER_THRESHOLD = 50000

TESTER_CYCLE = 20
GETTER_CYCLE = 10

TEST_URL = 'http://www.baidu.com'

API_HOST = '127.0.0.1'
API_PORT = 5555

TESTER_ENABLED = True
GETTER_ENABLED = True
API_ENABLED = True

BATCH_TEST_SIZE = 10