Skip to content

Commit

Permalink
fix: optimise pod finalizers by using merge patch, and add a finalize…
Browse files Browse the repository at this point in the history
…r sync cron

Signed-off-by: 刘达 <liuda1@kingsoft.com>
  • Loading branch information
liuda1 committed Apr 4, 2024
1 parent fa86def commit c3ab048
Show file tree
Hide file tree
Showing 6 changed files with 233 additions and 122 deletions.
2 changes: 1 addition & 1 deletion cmd/workflow-controller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func NewRootCommand() *cobra.Command {
command.Flags().StringVar(&logFormat, "log-format", "text", "The formatter to use for logs. One of: text|json")
command.Flags().IntVar(&workflowWorkers, "workflow-workers", 32, "Number of workflow workers")
command.Flags().IntVar(&workflowTTLWorkers, "workflow-ttl-workers", 4, "Number of workflow TTL workers")
command.Flags().IntVar(&podCleanupWorkers, "pod-cleanup-workers", 4, "Number of pod cleanup workers")
command.Flags().IntVar(&podCleanupWorkers, "pod-cleanup-workers", 32, "Number of pod cleanup workers")
command.Flags().IntVar(&cronWorkflowWorkers, "cron-workflow-workers", 8, "Number of cron workflow workers")
command.Flags().IntVar(&burst, "burst", 30, "Maximum burst for throttle.")
command.Flags().Float32Var(&qps, "qps", 20.0, "Queries per second")
Expand Down

0 comments on commit c3ab048

Please sign in to comment.