mirror of
https://gitee.com/openharmony/bundlemanager_bundle_framework
synced 2024-11-27 01:11:15 +00:00
调整数据库备份时机
Change-Id: I7dd3026235f275a5b3bc19746f3d57b52ac8e98b Signed-off-by: xiaozuo00 <xuyicong3@huawei.com>
This commit is contained in:
parent
607d14a403
commit
f5379156a5
@ -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()
|
||||
{
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user