]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/btimers.c
Remove delete of CVS files
[bacula/bacula] / bacula / src / lib / btimers.c
index 3f530c6fc2a3e05a742c5ae710c22aa9097b5f22..faa77a56e490a927355b0dff9298b2055f8e91c1 100644 (file)
@@ -93,11 +93,13 @@ static void callback_child_timer(watchdog_t *self)
 
       Dmsg2(050, "watchdog %p term PID %d\n", self, wid->pid);
 
-      /* Kill -TERM the specified PID, and reschedule a -KILL for 3 seconds
-       * later.
+      /* Kill -TERM the specified PID, and reschedule a -KILL for 5 seconds
+       * later. (Warning: this should let dvd-writepart enough time to term
+       * and kill growisofs, which takes 3 seconds, so the interval must not
+       * be less than 5 seconds)
        */
       kill(wid->pid, SIGTERM);
-      self->interval = 3;
+      self->interval = 5;
    } else {
       /* This is the second call - terminate with prejudice. */
       Dmsg2(050, "watchdog %p kill PID %d\n", self, wid->pid);