summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJin Qian2017-01-17 13:14:22 -0600
committerJin Qian2017-01-17 17:37:37 -0600
commit0c77270ffc35ab0f074d7e21e5ca54eac97bb57a (patch)
tree0f0907bca27824f5d0b5922fa09ef25e94a29a89 /storaged
parent0c4764074f65e6f6f09f2dca7e08188d25560c4e (diff)
downloadplatform-system-core-0c77270ffc35ab0f074d7e21e5ca54eac97bb57a.tar.gz
platform-system-core-0c77270ffc35ab0f074d7e21e5ca54eac97bb57a.tar.xz
platform-system-core-0c77270ffc35ab0f074d7e21e5ca54eac97bb57a.zip
storaged: increase periodic polling interval
set default polling internal to 1 minute set default disk stats publish to 1 hour set default emmc info publish to 1 day Bug: 34331490 Change-Id: Ifd86ddf9d826fb252de9dc8d6881e80ccb193e3b
Diffstat (limited to 'storaged')
-rw-r--r--storaged/include/storaged.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/storaged/include/storaged.h b/storaged/include/storaged.h
index 957070c9b..babe7ce0b 100644
--- a/storaged/include/storaged.h
+++ b/storaged/include/storaged.h
@@ -257,9 +257,9 @@ public:
257}; 257};
258 258
259// Periodic chores intervals in seconds 259// Periodic chores intervals in seconds
260#define DEFAULT_PERIODIC_CHORES_INTERVAL_UNIT ( 20 ) 260#define DEFAULT_PERIODIC_CHORES_INTERVAL_UNIT ( 60 )
261#define DEFAULT_PERIODIC_CHORES_INTERVAL_DISK_STATS_PUBLISH ( 60 ) 261#define DEFAULT_PERIODIC_CHORES_INTERVAL_DISK_STATS_PUBLISH ( 3600 )
262#define DEFAULT_PERIODIC_CHORES_INTERVAL_EMMC_INFO_PUBLISH ( 60 * 2 ) 262#define DEFAULT_PERIODIC_CHORES_INTERVAL_EMMC_INFO_PUBLISH ( 86400 )
263 263
264struct storaged_config { 264struct storaged_config {
265 int periodic_chores_interval_unit; 265 int periodic_chores_interval_unit;