Is your feature request related to a problem? Please describe.
Several problems were discovered using task aggregation:
There is no error returned in the task aggregation interface. An error return should be added. When a large number of tasks are aggregated, errors will inevitably occur. If the error is returned, this aggregation task should be ignored.
Aggregation capabilities at the queue task level cannot be set, and aggregation can only be set at the server level, which is not very suitable for some complex aggregation requirements.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe. Several problems were discovered using task aggregation:
See:
See: https://github.com/hibiken/asynq/blob/d04888e74845fc7434c6a50755e62ec6ffda5911/aggregator.go#L163
Describe the solution you'd like A clear and concise description of what you want to happen.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.