spring
zhm1002
这个作者很懒,什么都没留下…
展开
-
springboot 配置
mvcspring.mvc.async.request-timeout设定async请求的超时时间,以毫秒为单位,如果没有设置的话,以具体实现的超时时间为准,比如tomcat的servlet3的话是10秒.spring.mvc.date-format设定日期的格式,比如dd/MM/yyyy.spring.mvc.favicon.enabled是否支持favicon.ico,默认为: truespring.mvc.ignore-default-model-on-redirect在原创 2020-08-15 17:09:26 · 776 阅读 · 0 评论 -
sprint datasource 配置属性
datasource spring.dao.exceptiontranslation.enabled 是否开启PersistenceExceptionTranslationPostProcessor,默认为true spring.datasource.abandon-when-percentage-full 设定超时被废弃的连接占到多少比例时要被关闭或上报 spring.datasource.allow-pool-suspension 使用Hikari pool时,是否允许连原创 2020-08-06 10:58:26 · 191 阅读 · 0 评论