mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #521] What does Asynq Logs Signify? #242
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#242
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lovgrandma on GitHub (Jul 18, 2022).
Original GitHub issue: https://github.com/hibiken/asynq/issues/521
I have a job queue for video processing and batch SMS sends.
It works but I want to be more clear on what the logs mean. When my server starts I run this in main()
Both run this code:
func BuildWorkerServer() { srv := asynq.NewServer( asynq.RedisClientOpt{Addr: jobQueueAddr}, asynq.Config{ Concurrency: 10, // total concurrent workers Queues: map[string]int{ "critical": 6, "default": 3, "low": 1, }, }, ) mux := asynq.NewServeMux() mux.HandleFunc(video_queue.TypeVideoProcess, video_queue.HandleVideoProcessTask) if err := srv.Run(mux); err != nil { log.Printf("Could not run Job Queue Server: %v", err) } }I see this in my log:
Please advise. I am running each server using go routines so Im thinking the pid's should be different? The goal is for concurrency in this scenario. Havent faced any issues but I havent tested for scale (in interest of money, each process is expensive as it is connected to AWS Rekognition $
)