aboutsummaryrefslogtreecommitdiffstats
path: root/include/queue.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-22 15:30:52 -0800
committerFriendika <info@friendika.com>2010-11-22 15:30:52 -0800
commitfb58801aa406d1dd250d614b02f63f0b72bae6b6 (patch)
tree27d424ba57d06e09d29dac874880768c530a1d22 /include/queue.php
parent0bcb68200e8543dbcaaea16aae86806b6251ebb4 (diff)
downloadvolse-hubzilla-fb58801aa406d1dd250d614b02f63f0b72bae6b6.tar.gz
volse-hubzilla-fb58801aa406d1dd250d614b02f63f0b72bae6b6.tar.bz2
volse-hubzilla-fb58801aa406d1dd250d614b02f63f0b72bae6b6.zip
schedule the queue re-delivery process
Diffstat (limited to 'include/queue.php')
-rw-r--r--include/queue.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/queue.php b/include/queue.php
index b7fb478b4..7df510ef4 100644
--- a/include/queue.php
+++ b/include/queue.php
@@ -45,7 +45,7 @@ function remove_queue_item($id) {
q("DELETE FROM `queue` WHERE `created` < UTC_TIMESTAMP() - INTERVAL 3 DAY");
}
- $r = q("SELECT `id` FROM `queue` WHERE 1 ");
+ $r = q("SELECT `id` FROM `queue` WHERE `last` < UTC_TIMESTAMP() - INTERVAL 15 MINUTE ");
if(! count($r))
killme();