Commit 818f6eaa authored by Bastien Nocera's avatar Bastien Nocera Committed by Richard Hughes

gs-update-monitor: Fix “thrice daily” check running every 3 days

The timeout was 3 times the number of seconds in a day, not a third of
the number of seconds in a day.
parent 86a5f221
......@@ -886,7 +886,7 @@ restart_upgrades_check (GsUpdateMonitor *monitor)
stop_upgrades_check (monitor);
get_upgrades (monitor);
monitor->check_daily_id = g_timeout_add_seconds (3 * SECONDS_IN_A_DAY,
monitor->check_daily_id = g_timeout_add_seconds (SECONDS_IN_A_DAY / 3,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment