tweak daemon msgs
This commit is contained in:
+2
-2
@@ -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.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user