Commit 54e988263dcfadc221e32400d21cc519bf03f9c2
Merge branch 'dev'
Showing
2 changed files
with
3 additions
and
1 deletions
src/main/java/com/cnlive/shenhe/job/VideosJob.java
| ... | ... | @@ -51,7 +51,7 @@ public class VideosJob { |
| 51 | 51 | * 机审 、未审核 、抽帧完成 进行送审 |
| 52 | 52 | * 每天8点到23点执行,每分钟一次 |
| 53 | 53 | */ |
| 54 | - @Scheduled(cron = "0 0/1 8-23 * * ? ") | |
| 54 | + @Scheduled(cron = "0 0/3 8-23 * * ? ") | |
| 55 | 55 | public void videofilter() { |
| 56 | 56 | ShyVideos shyVideos = new ShyVideos(); |
| 57 | 57 | //审核类型为机审 | ... | ... |
src/main/resources/application.properties
| ... | ... | @@ -22,6 +22,8 @@ server.tomcat.uri-encoding=UTF-8 |
| 22 | 22 | spring.http.encoding.charset=UTF-8 |
| 23 | 23 | spring.http.encoding.enabled=true |
| 24 | 24 | spring.http.encoding.force=true |
| 25 | +#\u914D\u7F6EScheduled\u5B9A\u65F6\u4EFB\u52A1\u4E3A\u591A\u7EBF\u7A0B | |
| 26 | +spring.task.scheduling.pool.size=8 | |
| 25 | 27 | |
| 26 | 28 | mybatis.mapper-locations=classpath:mapper/*.xml |
| 27 | 29 | mybatis.type-aliases-package=com.cnlive.shenhe.entity |
| 28 | 30 | \ No newline at end of file | ... | ... |