Diff between af506e3a3e88ed060e5112cd8e8f70636e51d392 and b0e63efb1c4b85edced069628e8010c93611642c

Changed Files

File Additions Deletions Status
src/main.c +4 -2 modified

Full Patch

diff --git a/src/main.c b/src/main.c
index bb4fce1..290a0eb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -503,8 +503,10 @@ int main(int argc, char *argv[])
 		seconds = atoi(watchdog_usec) / (1000 * 1000);
 		info("Watchdog timeout is %d seconds", seconds);
 
-		watchdog = g_timeout_add_seconds(seconds / 2,
-						watchdog_callback, NULL);
+		watchdog = g_timeout_add_seconds_full(G_PRIORITY_HIGH,
+							seconds / 2,
+							watchdog_callback,
+							NULL, NULL);
 	} else
 		watchdog = 0;