]> git.wh0rd.org - tt-rss.git/blobdiff - update_daemon2.php
remove unnecessary mentions of global_purge_old_posts; add debugging to purge_orphans()
[tt-rss.git] / update_daemon2.php
index ce6a3ee9c33d63f518980e008f8f8a78a0ad10cf..1b9e57638eecfafe2b55858b5bbdb44d81db9001 100755 (executable)
@@ -73,7 +73,7 @@
 
                        if (time() - $started > MAX_CHILD_RUNTIME) {
                                _debug("[MASTER] child process $pid seems to be stuck, aborting...");
-                               posix_kill($pid, SIGINT);
+                               posix_kill($pid, SIGKILL);
                        }
                }
        }
                                                print "warning: unable to create stampfile";
                                        }       
 
-                                       // FIXME : $last_purge is of no use in a multiprocess update.
-                                       // FIXME : We ALWAYS purge old posts.
-                                       //_debug("Purging old posts (random 30 feeds)...");
-                                       //global_purge_old_posts($link, true, 30);
-
                                        // Call to the feed batch update function 
                                        // or regenerate feedbrowser cache