updater: check every 12 hours for updates for now

Change-Id: I566a0177f9bdbc523e88a17be746b3528f67403d
This commit is contained in:
Markus Mohrhard 2017-06-18 20:50:36 +02:00
parent 5a89f96012
commit bb5622adc5

View File

@ -1236,7 +1236,7 @@ bool isTimeForUpdateCheck()
sal_uInt64 nLastUpdate = officecfg::Office::Update::Update::LastUpdateTime::get();
sal_uInt64 nNow = tools::Time::GetSystemTicks();
sal_uInt64 n7DayInMS = 1000 * 60 * 60 * 24 * 7; // 7 days in ms
sal_uInt64 n7DayInMS = 1000 * 60 * 60 * 12 * 1; // 12 hours in ms
if (nNow - n7DayInMS >= nLastUpdate)
return true;