Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
gunlee01 committed Feb 24, 2021
1 parent d5d7b74 commit 75869fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scouterx/conf/configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func GetInstance() *Configure {

configure.StuckServiceBaseTimeMs = 300000
configure.StuckServiceRemoveEnabled = true
configure.StuckServiceAlertEnabled = false
configure.StuckServiceAlertEnabled = true

configure.TraceActiveserviceYellowTime = 3000
configure.TraceActiveserviceRedTime = 8000
Expand Down Expand Up @@ -349,6 +349,7 @@ func (conf *Configure) addToConf(props *properties.Properties) {

conf.StuckServiceBaseTimeMs = intOf(props, "stuck_service_base_time_ms", 300000, "")
conf.StuckServiceRemoveEnabled = boolOf(props, "stuck_service_remove_enabled", true, "")
conf.StuckServiceAlertEnabled = boolOf(props, "stuck_service_alert_enabled", true, "")

conf.TraceActiveserviceYellowTime = intOf(props, "trace_activeservice_yellow_time", 3000, "")
conf.TraceActiveserviceRedTime = intOf(props, "trace_activeservice_red_time", 8000, "")
Expand Down

0 comments on commit 75869fa

Please sign in to comment.