diff --git a/frontend/docs/pages/home/features/concurrency/round-robin.mdx b/frontend/docs/pages/home/features/concurrency/round-robin.mdx index 30b519c3a..c6ab87655 100644 --- a/frontend/docs/pages/home/features/concurrency/round-robin.mdx +++ b/frontend/docs/pages/home/features/concurrency/round-robin.mdx @@ -97,7 +97,7 @@ err = w.RegisterWorkflow( &worker.WorkflowJob{ Name: "concurrency-limit-per-user", On: worker.Events("concurrency-test-event"), - Description: "This limits concurrency to 1 run at a time per user.", + Description: "This limits concurrency to 10 run at a time per user.", Concurrency: worker.Concurrency(getConcurrencyKey).MaxRuns(10).LimitStrategy(types.GroupRoundRobin), Steps: []*worker.WorkflowStep{ // your steps here... @@ -190,7 +190,7 @@ err = w.RegisterWorkflow( &worker.WorkflowJob{ Name: "concurrency-limit-per-user", On: worker.Events("concurrency-test-event"), - Description: "This limits concurrency to 1 run at a time per user.", + Description: "This limits concurrency to 10 run at a time per user.", Concurrency: worker.Concurrency(getConcurrencyKey).MaxRuns(10).LimitStrategy(types.GroupRoundRobin), Steps: []*worker.WorkflowStep{ // your steps here... diff --git a/frontend/docs/pages/home/features/errors-and-logging.mdx b/frontend/docs/pages/home/features/errors-and-logging.mdx index 8c97d3f03..c06b7013b 100644 --- a/frontend/docs/pages/home/features/errors-and-logging.mdx +++ b/frontend/docs/pages/home/features/errors-and-logging.mdx @@ -88,9 +88,9 @@ err = w.RegisterWorkflow( Description: "This is an example workflow with logging.", Steps: []*worker.WorkflowStep{ worker.Fn(func(ctx worker.HatchetContext) (result *stepOneOutput, err error) { - ctx.log("Starting step execution") + ctx.Log("Starting step execution") result := someOperation() - ctx.log(fmt.Sprintf("Operation result: %v", result)) + ctx.Log(fmt.Sprintf("Operation result: %v", result)) }).SetName("step-one"), },