mirror of
https://github.com/navidrome/navidrome.git
synced 2026-08-31 07:30:32 +00:00
refactor(plugins): remove capability check for TaskWorker in TaskQueue host service
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
parent
dd12d34fe4
commit
2d5de23c6d
@ -483,10 +483,6 @@ func (s *taskQueueServiceImpl) defaultInvokeCallback(ctx context.Context, queueN
|
||||
return fmt.Errorf("plugin %s not loaded", s.pluginName)
|
||||
}
|
||||
|
||||
if !hasCapability(p.capabilities, CapabilityTaskWorker) {
|
||||
return fmt.Errorf("plugin %s lacks TaskWorker capability", s.pluginName)
|
||||
}
|
||||
|
||||
input := capabilities.TaskExecuteRequest{
|
||||
QueueName: queueName,
|
||||
TaskID: taskID,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user