set fixed pcntl_alarm in daemon, pass ICONS_URL as init param
This commit is contained in:
parent
7ca91eb38b
commit
8e9c121b8a
|
@ -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>";
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue