摘要:
定时任务丢失问题时由于任务调度默认时一个线程执行scheduled-1 1.到点就执行,不管上次有没有执行完成 @EnableAsync @Bean("threadPool") public Executor threadPool() { return Executors.newScheduledT
阅读全文
posted @ 2022-03-03 15:10
仙路尽头谁为峰
阅读(568)
推荐(0)
摘要:
1.查看分支 git branch git branch -a 查看远程分支 2.查看本地分支的upstream git branch -vv 3.创建本地分支 git switch master git pull git checkout -b dev git checkout -b 本地分支名称
阅读全文
posted @ 2022-03-03 13:15
仙路尽头谁为峰
阅读(224)
推荐(0)
摘要:
注意:绿色标注的163邮箱必须一致 1.依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-mail</artifactId> </dependency> 2.配置 s
阅读全文
posted @ 2022-02-17 09:03
仙路尽头谁为峰
阅读(49)
推荐(0)
摘要:
1.增加依赖 <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.sprin
阅读全文
posted @ 2022-02-16 09:09
仙路尽头谁为峰
阅读(203)
推荐(0)
摘要:
官网下载arthas-boot.jar 定位系统瓶颈 java -jar arthas-boot.jar trace com.xxx.类名 方法 -n 100
阅读全文
posted @ 2022-02-15 14:34
仙路尽头谁为峰
阅读(89)
推荐(0)
摘要:
Demo见spring security 官网 spring-projects/spring-security-samples at 5.6.x (github.com) 登录服务器 localhost:8080 认证服务器 localhost:9000 ######################
阅读全文
posted @ 2022-02-11 14:54
仙路尽头谁为峰
阅读(1575)
推荐(0)
摘要:
浏览器Microsoft Edge 下载 Modify Header 插件 修改Header Authorization的值为Basic {登录用户名} 发送任意请求 发送请求后,返回Header WWW-Authenticate 重新登录
阅读全文
posted @ 2022-02-09 09:28
仙路尽头谁为峰
阅读(69)
推荐(0)
摘要:
1.依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-batch</artifactId> </dependency> <dependency> <groupId>o
阅读全文
posted @ 2022-01-28 16:25
仙路尽头谁为峰
阅读(390)
推荐(0)
摘要:
1.怎加依赖2.添加注解 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.5.8.RELEASE</version>
阅读全文
posted @ 2022-01-28 12:27
仙路尽头谁为峰
阅读(184)
推荐(0)
摘要:
1.Tomcat覆盖默认配置 server: tomcat: max-connections: 2000 accept-count: 100 threads: max: 800 min-spare: 100 max-http-header-size: 131072 2.优化线程池配置 @Enable
阅读全文
posted @ 2022-01-27 12:49
仙路尽头谁为峰
阅读(1034)
推荐(0)