-
-
Notifications
You must be signed in to change notification settings - Fork 351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[performance] processing media and scheduled jobs improvements #1482
[performance] processing media and scheduled jobs improvements #1482
Conversation
…ucture, use go-sched for global task scheduling Signed-off-by: kim <grufwub@gmail.com>
Signed-off-by: kim <grufwub@gmail.com>
Signed-off-by: kim <grufwub@gmail.com>
… stop doubled up processing Signed-off-by: kim <grufwub@gmail.com>
Signed-off-by: kim <grufwub@gmail.com>
Signed-off-by: kim <grufwub@gmail.com>
Signed-off-by: kim <grufwub@gmail.com>
Signed-off-by: kim <grufwub@gmail.com>
Okay I'll try get to that singular test failure tomorrow 🤔 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me! good work :) the retry of processing on canceled contexts is gonna be really handy i think
@@ -0,0 +1,71 @@ | |||
package workers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
license
Signed-off-by: kim <grufwub@gmail.com>
Signed-off-by: kim <grufwub@gmail.com>
Signed-off-by: kim <grufwub@gmail.com>
…pools until concurrency worker pools replaced Signed-off-by: kim <grufwub@gmail.com>
Signed-off-by: kim <grufwub@gmail.com>
Changes:
runners.Processor{}
to ensure singular running instance of processing media/emojirunners.WorkerPool{}
instead of wrapping concurrency package for simplicityrunners.Scheduler{}
instead of cron, and add to state workers for managementDEBUG=1
is set during buildChecklist:
go fmt ./...
andgolangci-lint run
.