feat: task system change to out lib

This commit is contained in:
langhuihui
2025-09-26 15:57:26 +08:00
parent 5fb769bfa2
commit db045cfa62
88 changed files with 103 additions and 1509 deletions

View File

@@ -18,8 +18,8 @@ import (
"github.com/shirou/gopsutil/v4/cpu"
task "github.com/langhuihui/gotask"
"m7s.live/v5/pkg/config"
"m7s.live/v5/pkg/task"
sysruntime "runtime"
@@ -101,7 +101,7 @@ type (
ServerConfig
Plugins util.Collection[string, *Plugin]
Streams task.Manager[string, *Publisher]
Streams util.Manager[string, *Publisher]
AliasStreams util.Collection[string, *AliasStream]
Waiting WaitManager
Pulls task.WorkCollection[string, *PullJob]