All Downloads are FREE. Search and download functionalities are using the official Maven repository.

7075.lucky-redis.2.1.1.source-code.application-jedis-temp.yaml Maven / Gradle / Ivy

The newest version!
redis:
  #数据库编号
  db-number: 0
  #Matser的ip地址
  host: 127.0.0.1
  #端口号
  port: 6379
  #如果有密码
  password: 
  #客户端超时时间单位是毫秒 默认是2000
  timeout: 10000
  #最大空闲数
  max-idle: 300
  #连接池的最大数据库连接数。设为0表示无限制,如果是jedis 2.4以后用redis.maxTotal
  max-active: 600
  #控制一个pool可分配多少个jedis实例,用来替换上面的redis.maxActive,如果是jedis 2.4以后用该属性
  max-total: 1000
  #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
  max-wait-millis: 1000
  #连接的最小空闲时间 默认1800000毫秒(30分钟)
  min-evictable-idle-time-millis: 300000
  #每次释放连接的最大数目,默认3
  num-tests-per-eviction-run: 1024
  #逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认-1
  time-between-eviction-runs-millis: 30000
  #是否在从池中取出连接前进行检验,如果检验失败,则从池中去除连接并尝试取出另一个
  test-on-borrow: true
  #在空闲时检查有效性, 默认false
  test-while-idle: true




© 2015 - 2024 Weber Informatics LLC | Privacy Policy