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,7 +51,7 @@ public class VideosJob { | ||
| 51 | * 机审 、未审核 、抽帧完成 进行送审 | 51 | * 机审 、未审核 、抽帧完成 进行送审 |
| 52 | * 每天8点到23点执行,每分钟一次 | 52 | * 每天8点到23点执行,每分钟一次 |
| 53 | */ | 53 | */ |
| 54 | - @Scheduled(cron = "0 0/1 8-23 * * ? ") | 54 | + @Scheduled(cron = "0 0/3 8-23 * * ? ") |
| 55 | public void videofilter() { | 55 | public void videofilter() { |
| 56 | ShyVideos shyVideos = new ShyVideos(); | 56 | ShyVideos shyVideos = new ShyVideos(); |
| 57 | //审核类型为机审 | 57 | //审核类型为机审 |
src/main/resources/application.properties
| @@ -22,6 +22,8 @@ server.tomcat.uri-encoding=UTF-8 | @@ -22,6 +22,8 @@ server.tomcat.uri-encoding=UTF-8 | ||
| 22 | spring.http.encoding.charset=UTF-8 | 22 | spring.http.encoding.charset=UTF-8 |
| 23 | spring.http.encoding.enabled=true | 23 | spring.http.encoding.enabled=true |
| 24 | spring.http.encoding.force=true | 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 | mybatis.mapper-locations=classpath:mapper/*.xml | 28 | mybatis.mapper-locations=classpath:mapper/*.xml |
| 27 | mybatis.type-aliases-package=com.cnlive.shenhe.entity | 29 | mybatis.type-aliases-package=com.cnlive.shenhe.entity |
| 28 | \ No newline at end of file | 30 | \ No newline at end of file |