fix(quota): update taskInfo to include current subscription count in quota logic
This commit is contained in:
parent
32633920b5
commit
6bc0fb4d90
@ -208,6 +208,7 @@ func (l *QuotaTaskLogic) processSubscribes(ctx context.Context, subscribes []*us
|
||||
taskInfo.Errors = string(errs)
|
||||
}
|
||||
|
||||
taskInfo.Current = uint64(len(subscribes))
|
||||
taskInfo.Status = status
|
||||
err := tx.Where("id = ?", taskInfo.Id).Save(taskInfo).Error
|
||||
if err != nil {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user