!7468 调整数据库备份时机

Merge pull request !7468 from xuyicong/fix_delaybackup
This commit is contained in:
openharmony_ci 2024-11-14 07:24:09 +00:00 committed by Gitee
commit 4c840a4cc4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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()