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

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

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