snailjob配置

This commit is contained in:
2026-04-27 13:17:02 +08:00
parent 05cb75e652
commit 7fcbb81317
4 changed files with 6 additions and 6 deletions

View File

@ -452,7 +452,7 @@ public class AudioProcessService {
long fileSize = 256 * 1024;
// 检查文件大小
if (file.getSize() > fileSize) {
throw new IllegalArgumentException("音频大小不能超过5MB");
throw new IllegalArgumentException("音频大小不能超过256kb");
}
}

View File

@ -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`表