完善提取处理流程,解决提取并发问题

This commit is contained in:
2026-05-13 16:17:57 +08:00
parent d273731e31
commit ccbc6f0b67
6 changed files with 361 additions and 287 deletions

View File

@@ -46,7 +46,7 @@ func HandleRemoveChannel(_ context.Context, task *asynq.Task) (err error) {
batch := string(task.Payload())
slog.Info("[event]删除通道", "batch", batch)
err = s.Channel.RemoveChannels(batch, nil)
err = s.Channel.RemoveChannels(batch)
if err != nil {
return fmt.Errorf("删除通道失败: %w", err)
}