diff options
author | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2023-12-20 10:04:45 +0100 |
---|---|---|
committer | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2023-12-20 14:10:47 +0100 |
commit | 6ca67850d471478542bec458e1ea94175e5bba14 (patch) | |
tree | 18396a78b5778ad5eed139976459261b870b4f27 /desktop | |
parent | a731395303015107a1d9f2cfd568f6390ee3cd1d (diff) |
Revert "updater: check every 12 hours for updates for now"
This reverts commit bb5622adc5db348efcc9a6f41d19de9f00a367dd, going back to a
less aggressive 7 day period for now.
Change-Id: I439a49f3ca6761ef17ca2b92d395b0de5c400197
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161050
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/app.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 8136d39a9806..0d66a48daac7 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -1121,7 +1121,7 @@ bool isTimeForUpdateCheck() sal_uInt64 nLastUpdate = officecfg::Office::Update::Update::LastUpdateTime::get(); sal_uInt64 nNow = tools::Time::GetSystemTicks(); - sal_uInt64 n7DayInMS = 1000 * 60 * 60 * 12 * 1; // 12 hours in ms + sal_uInt64 n7DayInMS = 1000 * 60 * 60 * 24 * 7; // 7 days in ms if (nNow - n7DayInMS >= nLastUpdate) return true; |