-
Notifications
You must be signed in to change notification settings - Fork 800
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
Non-blocking submit for Task Scheduler #3081
Conversation
common/task/fifoTaskScheduler.go
Outdated
func (f *fifoTaskSchedulerImpl) Submit(task PriorityTask) error { | ||
func (f *fifoTaskSchedulerImpl) TrySubmit( | ||
task PriorityTask, | ||
) (bool, error) { | ||
f.metricsScope.IncCounter(metrics.ParallelTaskSubmitRequest) | ||
sw := f.metricsScope.StartTimer(metrics.ParallelTaskSubmitLatency) |
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.
Do you want to differentiate the block and non-block methods latency?
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.
Removed latency metric from non-blocking method. And Request
metric is emitted only when the task is actually submitted.
…nt of uninitialized wf execution records (#3081)
…nt of uninitialized wf execution records (#3081)
…nt of uninitialized wf execution records (#3081)
No description provided.