Skip to content

Commit

Permalink
resource_control: add stats task (#985)
Browse files Browse the repository at this point in the history
Signed-off-by: nolouch <nolouch@gmail.com>
  • Loading branch information
nolouch authored Sep 21, 2023
1 parent be2b4c7 commit c8832b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion util/request_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@ const (
ExplicitTypeDumpling = "dumpling"
ExplicitTypeBackground = "background"
ExplicitTypeDDL = "ddl"
ExplicitTypeStats = "stats"
)

// ExplicitTypeList is the list of all explicit source types.
var ExplicitTypeList = []string{ExplicitTypeEmpty, ExplicitTypeLightning, ExplicitTypeBR, ExplicitTypeDumpling, ExplicitTypeBackground, ExplicitTypeDDL}
var ExplicitTypeList = []string{ExplicitTypeEmpty, ExplicitTypeLightning, ExplicitTypeBR, ExplicitTypeDumpling, ExplicitTypeBackground, ExplicitTypeDDL, ExplicitTypeStats}

const (
// InternalRequest is the scope of internal queries
Expand Down

0 comments on commit c8832b8

Please sign in to comment.