redis-config.yml 1.1 KB
pool:
    maxTotal: 80
    maxIdle: 10
    minIdle: 5
    maxWaitMillis: 2000
    testOnBorrow: false
    testWhileIdle: true

redis:
    yohoSearchRedis:
        cluster: ${search.redis.iscluster}
        sync: false
        auth: ${search.redis.auth}
        timeout: 1000
        servers:
        - ${search.redis.address}:${search.redis.port}
        readOnly:
        - ${search.redis.address}:${search.redis.port}
        primary: no

    yohoSearchBigDataRedis:
        cluster: false
        sync: false
        auth: ${bigDataRedis-search.proxy.auth}
        timeout: 1000
        servers:
        - ${bigDataRedis-search.proxy.address}:${bigDataRedis-search.proxy.port}
        readOnly:
        - ${bigDataRedis-search.proxy.address}:${bigDataRedis-search.proxy.port}
        primary: no

    yohoNoSyncRedis:
        cluster: false
        sync: false
        auth: ${redis.notsync.twemproxy.auth}
        timeout: 1000
        servers:
        - ${redis.notsync.twemproxy.addresses}
        readOnly:
        - ${redis.notsync.twemproxy.addresses}
        primary: no