|
@@ -31,25 +31,29 @@ spring.resources.static-locations=classpath:/META-INF/resources/,classpath:/reso
|
|
spring.redis.database=0
|
|
spring.redis.database=0
|
|
spring.redis.host=127.0.0.1
|
|
spring.redis.host=127.0.0.1
|
|
spring.redis.port=6379
|
|
spring.redis.port=6379
|
|
-# 连接超时时间 单位 ms(毫秒)
|
|
|
|
|
|
+# 锟斤拷锟接筹拷时时锟斤拷 锟斤拷位 ms锟斤拷锟斤拷锟诫)
|
|
spring.redis.timeout=3000
|
|
spring.redis.timeout=3000
|
|
-# 连接池中的最大空闲连接,默认值也是8。
|
|
|
|
|
|
+# 锟斤拷锟接筹拷锟叫碉拷锟斤拷锟斤拷锟斤拷锟斤拷锟接o拷默锟斤拷值也锟斤拷8锟斤拷
|
|
spring.redis.pool.max-idle=8
|
|
spring.redis.pool.max-idle=8
|
|
-#连接池中的最小空闲连接,默认值也是0。
|
|
|
|
|
|
+#锟斤拷锟接筹拷锟叫碉拷锟斤拷小锟斤拷锟斤拷锟斤拷锟接o拷默锟斤拷值也锟斤拷0锟斤拷
|
|
spring.redis.pool.min-idle=0
|
|
spring.redis.pool.min-idle=0
|
|
-# 如果赋值为-1,则表示不限制;如果pool已经分配了maxActive个jedis实例,则此时pool的状态为exhausted(耗尽)。
|
|
|
|
|
|
+# �����ֵΪ-1�����ʾ�����ƣ����pool�Ѿ�������maxActive��jedisʵ�������ʱpool��״̬Ϊexhausted(�ľ�)��
|
|
spring.redis.pool.max-active=8
|
|
spring.redis.pool.max-active=8
|
|
-# 等待可用连接的最大时间,单位毫秒,默认值为-1,表示永不超时。如果超过等待时间,则直接抛出JedisConnectionException
|
|
|
|
|
|
+# �ȴ��������ӵ����ʱ�䣬��λ���룬Ĭ��ֵΪ-1����ʾ������ʱ����������ȴ�ʱ�䣬��ֱ���׳�JedisConnectionException
|
|
spring.redis.pool.max-wait=-1
|
|
spring.redis.pool.max-wait=-1
|
|
-#redis哨兵设置
|
|
|
|
-#Redis服务器master的名字
|
|
|
|
|
|
+#redis锟节憋拷锟斤拷锟斤拷
|
|
|
|
+#Redis锟斤拷锟斤拷锟斤拷master锟斤拷锟斤拷锟斤拷
|
|
#spring.redis.sentinel.master=master8026
|
|
#spring.redis.sentinel.master=master8026
|
|
-#redis-sentinel的配置地址和端口
|
|
|
|
|
|
+#redis-sentinel锟斤拷锟斤拷锟矫碉拷址锟酵端匡拷
|
|
#spring.redis.sentinel.nodes=10.189.80.25:26379,10.189.80.26:26379,10.189.80.27:26378
|
|
#spring.redis.sentinel.nodes=10.189.80.25:26379,10.189.80.26:26379,10.189.80.27:26378
|
|
|
|
|
|
context.listener.classes=com.wsm.admin.init.StartupUdpEvent
|
|
context.listener.classes=com.wsm.admin.init.StartupUdpEvent
|
|
-#线程池
|
|
|
|
|
|
+#锟竭程筹拷
|
|
spring.task.pool.corePoolSize=5
|
|
spring.task.pool.corePoolSize=5
|
|
spring.task.pool.maxPoolSize=100
|
|
spring.task.pool.maxPoolSize=100
|
|
spring.task.pool.keepAliveSeconds=100
|
|
spring.task.pool.keepAliveSeconds=100
|
|
-spring.task.pool.queueCapacity=100
|
|
|
|
|
|
+spring.task.pool.queueCapacity=100
|
|
|
|
+
|
|
|
|
+live.key=c1685ef2012c099ec3daa238907577ed
|
|
|
|
+live.number.url=http://95787.com/api/getSessionID.php
|
|
|
|
+live.info.url=http://95787.com/api/getSessionIDInfo.php
|