forked from dyf/fys-Multi-tenant
snailjob配置
This commit is contained in:
@ -452,7 +452,7 @@ public class AudioProcessService {
|
||||
long fileSize = 256 * 1024;
|
||||
// 检查文件大小
|
||||
if (file.getSize() > fileSize) {
|
||||
throw new IllegalArgumentException("音频大小不能超过5MB");
|
||||
throw new IllegalArgumentException("音频大小不能超过256kb");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@ spring.boot.admin.client:
|
||||
|
||||
--- # snail-job 配置
|
||||
snail-job:
|
||||
enabled: false
|
||||
enabled: true
|
||||
# 需要在 SnailJob 后台组管理创建对应名称的组,然后创建任务的时候选择对应的组,才能正确分派任务
|
||||
group: "fys_group"
|
||||
# SnailJob 接入验证令牌 详见 script/sql/ry_job.sql `sj_group_config`表
|
||||
|
||||
Reference in New Issue
Block a user