mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:05:55 +00:00
set fixed pcntl_alarm in daemon, pass ICONS_URL as init param
This commit is contained in:
@@ -2201,6 +2201,8 @@
|
|||||||
print "<param key=\"cdm_auto_catchup\" value=\"" .
|
print "<param key=\"cdm_auto_catchup\" value=\"" .
|
||||||
sprintf("%d", get_pref($link, "CDM_AUTO_CATCHUP")) . "\"/>";
|
sprintf("%d", get_pref($link, "CDM_AUTO_CATCHUP")) . "\"/>";
|
||||||
|
|
||||||
|
print "<param key=\"icons_url\" value=\"" . ICONS_URL . "\"/>";
|
||||||
|
|
||||||
print "</init-params>";
|
print "</init-params>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -157,11 +157,7 @@
|
|||||||
|
|
||||||
_debug("Updating...");
|
_debug("Updating...");
|
||||||
|
|
||||||
if (defined('MAGPIE_FETCH_TIME_OUT')) {
|
pcntl_alarm(300);
|
||||||
pcntl_alarm(MAGPIE_FETCH_TIME_OUT * 2);
|
|
||||||
} else {
|
|
||||||
pcntl_alarm(300);
|
|
||||||
}
|
|
||||||
|
|
||||||
update_rss_feed($link, $line["feed_url"], $line["id"], true);
|
update_rss_feed($link, $line["feed_url"], $line["id"], true);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user