tweak daemon msgs
This commit is contained in:
parent
6f9e33e45d
commit
072bd2ccfb
|
@ -142,12 +142,12 @@
|
||||||
if (!$line["last_updated"] ||
|
if (!$line["last_updated"] ||
|
||||||
time() - strtotime($line["last_updated"]) > ($upd_intl * 60)) {
|
time() - strtotime($line["last_updated"]) > ($upd_intl * 60)) {
|
||||||
|
|
||||||
_debug("\tUpdating...");
|
_debug("Updating...");
|
||||||
|
|
||||||
update_rss_feed($link, $line["feed_url"], $line["id"], true);
|
update_rss_feed($link, $line["feed_url"], $line["id"], true);
|
||||||
sleep(1); // prevent flood (FIXME make this an option?)
|
sleep(1); // prevent flood (FIXME make this an option?)
|
||||||
} else {
|
} else {
|
||||||
_debug("\tUpdate not needed.");
|
_debug("Update not needed.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue