]> git.wh0rd.org - tt-rss.git/blobdiff - functions.php
daemon2: properly abort stuck children
[tt-rss.git] / functions.php
index 627055f85a9cecaaa26d35099eb61e98518de8c3..7fc5aa7ea41d2fe0b1051e15fbdfb79bdd7a93d3 100644 (file)
 
                        if($debug) _debug("Feed: " . $line["feed_url"] . ", " . $line["last_updated"]);
 
-                       // We setup a alarm to alert if the feed take more than 300s to update.
-                       // => HANG alarm.
-                       if(!$from_http && function_exists('pcntl_alarm')) pcntl_alarm(300);
-                       update_rss_feed($link, $line["id"], true);
-                       // Cancel the alarm (the update went well)
-                       if(!$from_http && function_exists('pcntl_alarm')) pcntl_alarm(0);
-
                        sleep(1); // prevent flood (FIXME make this an option?)
                }