Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Commit

Permalink
Disable monitors by default
Browse files Browse the repository at this point in the history
Signed-off-by: Nolan J Hergert <[email protected]>
  • Loading branch information
nolanhergert authored and Juston Li committed Oct 18, 2017
1 parent 8d20148 commit a2520eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/persistence/lib_persistence.c
Original file line number Diff line number Diff line change
Expand Up @@ -514,13 +514,13 @@ int set_default_config_settings(PersistentStore *p_ps)
add_config_value_to_pstore(p_ps, SQL_KEY_DEFAULT_DIE_SPARING_AGGRESSIVENESS, "128");

// monitor configs
add_config_value_to_pstore(p_ps, SQL_KEY_PERFORMANCE_MONITOR_ENABLED, "1");
add_config_value_to_pstore(p_ps, SQL_KEY_PERFORMANCE_MONITOR_ENABLED, "0");
// 180 = every 3 hours
add_config_value_to_pstore(p_ps, SQL_KEY_PERFORMANCE_MONITOR_INTERVAL_MINUTES, "180");
add_config_value_to_pstore(p_ps, SQL_KEY_PERFORMANCE_LOG_MAX, "10000");
add_config_value_to_pstore(p_ps, SQL_KEY_PERFORMANCE_LOG_TRIM_PERCENT, "30");

add_config_value_to_pstore(p_ps, SQL_KEY_EVENT_MONITOR_ENABLED, "1");
add_config_value_to_pstore(p_ps, SQL_KEY_EVENT_MONITOR_ENABLED, "0");
add_config_value_to_pstore(p_ps, SQL_KEY_EVENT_MONITOR_INTERVAL_MINUTES, "1");
add_config_value_to_pstore(p_ps, SQL_KEY_EVENT_LOG_MAX, "10000");
add_config_value_to_pstore(p_ps, SQL_KEY_EVENT_LOG_TRIM_PERCENT, "10");
Expand Down

0 comments on commit a2520eb

Please sign in to comment.