调整数据库备份时机

Change-Id: I7dd3026235f275a5b3bc19746f3d57b52ac8e98b
Signed-off-by: xiaozuo00 <xuyicong3@huawei.com>
This commit is contained in:
xiaozuo00 2024-11-13 15:16:39 +08:00
parent 607d14a403
commit f5379156a5
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ namespace OHOS {
namespace AppExecFwk {
namespace {
constexpr const char* BUNDLE_RDB_TABLE_NAME = "installed_bundle";
const int8_t CLOSE_TIME = 15; // delay 15s to backup
const int8_t CLOSE_TIME = 60; // delay 60s to backup
}
BundleDataStorageRdb::BundleDataStorageRdb()
{

View File

@ -24,7 +24,7 @@ namespace OHOS {
namespace AppExecFwk {
namespace {
constexpr const char* SYSTEM_RESOURCES_APP = "ohos.global.systemres";
const int8_t CLOSE_TIME = 15; // delay 15s to backup
const int8_t CLOSE_TIME = 60; // delay 60s to backup
}
BundleResourceRdb::BundleResourceRdb()