mirror of
https://github.com/oarkflow/mq.git
synced 2025-11-03 14:20:39 +08:00
feat: [wip] - implement storage
This commit is contained in:
@@ -9,6 +9,6 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
consumer1 := mq.NewConsumer("F", "queue1", tasks.Node6, mq.WithWorkerPool(100, 4, 50000))
|
||||
consumer1 := mq.NewConsumer("F", "queue1", &tasks.Node6{}, mq.WithWorkerPool(100, 4, 50000))
|
||||
consumer1.Consume(context.Background())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user