This commit is contained in:
iizmg
2020-04-27 08:20:28 +08:00
parent 216e78e7d0
commit 49405597cd
4 changed files with 8 additions and 8 deletions
@@ -4,6 +4,6 @@
<delete id="clearTraceInfo">
DELETE
FROM TM_COMMON_TRACE_INFO A
WHERE A.CREATE_DATE <![CDATA[ <= ]]> date_sub(now(), INTERVAL #{traceLogKeepDays} day)
WHERE A.CREATE_DATE <![CDATA[ <= ]]> date_sub(current_timestamp, INTERVAL #{traceLogKeepDays} day)
</delete>
</mapper>
@@ -20,9 +20,9 @@ org.itkk.udf.starter.datasource.dynamic.properties.map.udf.url=jdbc:mysql://web.
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.username=udf_dev
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.password=123456
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.driverClassName=com.mysql.cj.jdbc.Driver
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.initialSize=1
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.minIdle=1
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.maxActive=2
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.initialSize=5
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.minIdle=5
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.maxActive=5
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.maxWait=5000
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.timeBetweenEvictionRunsMillis=60000
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.minEvictableIdleTimeMillis=30000
@@ -20,9 +20,9 @@ org.itkk.udf.starter.datasource.dynamic.properties.map.udf.url=jdbc:mysql://192.
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.username=udf_prod
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.password=5ds2c6de54t1fd36e5f
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.driverClassName=com.mysql.cj.jdbc.Driver
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.initialSize=1
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.minIdle=1
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.maxActive=2
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.initialSize=20
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.minIdle=20
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.maxActive=20
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.maxWait=5000
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.timeBetweenEvictionRunsMillis=60000
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.minEvictableIdleTimeMillis=30000
@@ -123,7 +123,7 @@ public class DbCacheServiceRegistration implements IServiceRegistration {
public void refresh() throws JsonProcessingException {
//更新缓存
dbCacheService.set(getKey(), internalObjectMapper.writeValueAsString(new ServiceDto().setApplicationName(this.applicationName).setIp(this.ip).setPort(this.port).setManagementPort(this.managementPort)), DbCacheServiceRegistration.EXPIRE);
log.debug("续订服务状态:{}", getKey());
log.info("续订服务状态:{}", getKey());
}
@Override