desktop/source/app/app.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6ca67850d471478542bec458e1ea94175e5bba14
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Wed Dec 20 10:04:45 2023 +0100
Commit:     Stephan Bergmann <[email protected]>
CommitDate: Wed Dec 20 14:10:47 2023 +0100

    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 <[email protected]>

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;
 

Reply via email to