set fixed pcntl_alarm in daemon, pass ICONS_URL as init param

This commit is contained in:
Andrew Dolgov 2007-03-17 15:05:00 +01:00
parent 7ca91eb38b
commit 8e9c121b8a
2 changed files with 3 additions and 5 deletions

View File

@ -2201,6 +2201,8 @@
print "<param key=\"cdm_auto_catchup\" value=\"" .
sprintf("%d", get_pref($link, "CDM_AUTO_CATCHUP")) . "\"/>";
print "<param key=\"icons_url\" value=\"" . ICONS_URL . "\"/>";
print "</init-params>";
}

View File

@ -157,11 +157,7 @@
_debug("Updating...");
if (defined('MAGPIE_FETCH_TIME_OUT')) {
pcntl_alarm(MAGPIE_FETCH_TIME_OUT * 2);
} else {
pcntl_alarm(300);
}
update_rss_feed($link, $line["feed_url"], $line["id"], true);