#!/usr/bin/python
# -*- coding: utf-8 -*-

is_doc = False


"""
pid = 'XMTAyOA=='
pid_auth = 'ZThiMGNhM2M3ZDVmNTAxM2Y5ZDQxNzMyZDQzZTkxMDI='
pid_paike = 'XMjE4OA=='

#用于调用youku openapi
client_id = '74c61f909cf2fcf7'
secret = '<KEY>'

#vvcounter_server = "yws.youku.com"

vvcounter_server = ( '10.103.24.61',
                     '10.103.24.62',
                     '10.103.24.63',
                     '10.103.24.64',
                     '10.103.24.65',
                     '10.103.24.66',
                     '10.103.24.67',
                     '10.103.24.68')

default_avatar = 'http://static.youku.com/v1.0.0769/user/img/head/150/999.jpg'
paike_share_suffix = u'(分享自：优酷拍客客户端 http://mobile.youku.com )'

is_debug = False

play_list_server = "10.102.9.111"

cache_servers0 = (
    '10.103.13.96:11301',
    '10.103.13.96:11302',
    '10.103.13.96:11303',
    '10.103.13.96:11304',
    '10.103.13.97:11301',
    '10.103.13.97:11302',
    '10.103.13.97:11303',
    '10.103.13.97:11304',
)

cache_servers1 = (
    '10.103.13.96:11311',
    '10.103.13.96:11312',
    '10.103.13.96:11313',
    '10.103.13.96:11314',
    '10.103.13.97:11311',
    '10.103.13.97:11312',
    '10.103.13.97:11313',
    '10.103.13.97:11314',
)

redis_servers0 = {
    'host': '10.103.13.36',
    'port': 6379,
}
 
redis_servers1 = {
    'host': '10.103.13.37',
    'port': 6379,
}

mongodb_config = {
    'host': 'mongodb://10.103.13.59:27018,10.103.13.60:27018/mapi',
    'replicaSet': 'replica_set_0',
    #'port':27017,
    'db': "mapi",
    #'10.103.13.59：27018 primary
    #10.103.13.60:27018  secondary
    #10.103.13.76：27020  arbiter
}

"""

#TODO: 被调用
thrift_server = {'host': 'xx.xx.xx.xx','port': 8774,}

# import local settings
try:
    from local_settings import *
except:
    pass


#!/usr/bin/python
# -*- coding: utf-8 -*-

is_doc = False


"""
pid = 'XMTAyOA=='
pid_auth = 'ZThiMGNhM2M3ZDVmNTAxM2Y5ZDQxNzMyZDQzZTkxMDI='
pid_paike = 'XMjE4OA=='

#用于调用youku openapi
client_id = '74c61f909cf2fcf7'
secret = '<KEY>'

#vvcounter_server = "yws.youku.com"

vvcounter_server = ( '10.103.24.61',
                     '10.103.24.62',
                     '10.103.24.63',
                     '10.103.24.64',
                     '10.103.24.65',
                     '10.103.24.66',
                     '10.103.24.67',
                     '10.103.24.68')

default_avatar = 'http://static.youku.com/v1.0.0769/user/img/head/150/999.jpg'
paike_share_suffix = u'(分享自：优酷拍客客户端 http://mobile.youku.com )'

is_debug = False

play_list_server = "10.102.9.111"

cache_servers0 = (
    '10.103.13.96:11301',
    '10.103.13.96:11302',
    '10.103.13.96:11303',
    '10.103.13.96:11304',
    '10.103.13.97:11301',
    '10.103.13.97:11302',
    '10.103.13.97:11303',
    '10.103.13.97:11304',
)

cache_servers1 = (
    '10.103.13.96:11311',
    '10.103.13.96:11312',
    '10.103.13.96:11313',
    '10.103.13.96:11314',
    '10.103.13.97:11311',
    '10.103.13.97:11312',
    '10.103.13.97:11313',
    '10.103.13.97:11314',
)

redis_servers0 = {
    'host': '10.103.13.36',
    'port': 6379,
}
 
redis_servers1 = {
    'host': '10.103.13.37',
    'port': 6379,
}

mongodb_config = {
    'host': 'mongodb://10.103.13.59:27018,10.103.13.60:27018/mapi',
    'replicaSet': 'replica_set_0',
    #'port':27017,
    'db': "mapi",
    #'10.103.13.59：27018 primary
    #10.103.13.60:27018  secondary
    #10.103.13.76：27020  arbiter
}

"""

#TODO: 被调用
thrift_server = {'host': 'xx.xx.xx.xx','port': 8774,}

# import local settings
try:
    from local_settings import *
except:
    pass


#!/usr/bin/python # -*- coding: utf-8 -*- pid = 'XMTAyOA==' pid_auth = 'ZThiMGNhM2M3ZDVmNTAxM2Y5ZDQxNzMyZDQzZTkxMDI=' pid_paike = 'XMjE4OA=='  #用于调用youku openapi client_id = '74c61f909cf2fcf7' secret = '<KEY>'  #vvcounter_server = "yws.youku.com"  vvcounter_server = ( '10.103.24.61',                      '10.103.24.62',                      '10.103.24.63',                      '10.103.24.64',                      '10.103.24.65',                      '10.103.24.66',                      '10.103.24.67',                      '10.103.24.68')  default_avatar = 'http://static.youku.com/v1.0.0769/user/img/head/150/999.jpg' paike_share_suffix = u'(分享自：优酷拍客客户端 http://mobile.youku.com )'  is_debug = False  play_list_server = "10.102.9.111"  cache_servers0 = (     '10.103.13.96:11301',     '10.103.13.96:11302',     '10.103.13.96:11303',     '10.103.13.96:11304',     '10.103.13.97:11301',     '10.103.13.97:11302',     '10.103.13.97:11303',     '10.103.13.97:11304', )  cache_servers1 = (     '10.103.13.96:11311',     '10.103.13.96:11312',     '10.103.13.96:11313',     '10.103.13.96:11314',     '10.103.13.97:11311',     '10.103.13.97:11312',     '10.103.13.97:11313',     '10.103.13.97:11314', )  redis_servers0 = {     'host': '10.103.13.36',     'port': 6379, }   redis_servers1 = {     'host': '10.103.13.37',     'port': 6379, }  mongodb_config = {     'host': 'mongodb://10.103.13.59:27018,10.103.13.60:27018/mapi',     'replicaSet': 'replica_set_0',     #'port':27017,     'db': "mapi",     #'10.103.13.59：27018 primary     #10.103.13.60:27018  secondary     #10.103.13.76：27020  arbiter } #TODO: 被调用 # import local settings