summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-08-25 18:16:07 +0400
committerAndrew Dolgov <[email protected]>2010-08-25 18:16:07 +0400
commitc90a028cdc9548a4ef1f6359b53b2c9d96c3a7a8 (patch)
treef496ac81828a3e26af83487886363cff280776a3 /functions.php
parent1d064e0da50c53708a593e50932fe35eddc55278 (diff)
daemon2: properly abort stuck children
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/functions.php b/functions.php
index 627055f85..7fc5aa7ea 100644
--- a/functions.php
+++ b/functions.php
@@ -5895,13 +5895,6 @@
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?)
}