aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon/Channel_purge.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-10-03 07:11:12 +0000
committerMario <mario@mariovavti.com>2021-10-03 07:11:12 +0000
commit66c273ae8d54588dc83e1da6e67c71030abeefa3 (patch)
tree13bd2d05fef3b90ba83fd2f31c6002583979ad5d /Zotlabs/Daemon/Channel_purge.php
parentd556ef59e6ffce4849e50a741847d13fd8b07e94 (diff)
downloadvolse-hubzilla-66c273ae8d54588dc83e1da6e67c71030abeefa3.tar.gz
volse-hubzilla-66c273ae8d54588dc83e1da6e67c71030abeefa3.tar.bz2
volse-hubzilla-66c273ae8d54588dc83e1da6e67c71030abeefa3.zip
channel_purge: raise limit by factor of 10
Diffstat (limited to 'Zotlabs/Daemon/Channel_purge.php')
-rw-r--r--Zotlabs/Daemon/Channel_purge.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Daemon/Channel_purge.php b/Zotlabs/Daemon/Channel_purge.php
index 416126896..9fceb0fb9 100644
--- a/Zotlabs/Daemon/Channel_purge.php
+++ b/Zotlabs/Daemon/Channel_purge.php
@@ -19,12 +19,12 @@ class Channel_purge {
}
do {
- $r = q("select id from item where uid = %d and item_deleted = 0 limit 100",
+ $r = q("select id from item where uid = %d and item_deleted = 0 limit 1000",
intval($channel_id)
);
if ($r) {
foreach ($r as $rv) {
- drop_item($rv['id'],false);
+ drop_item($rv['id'], false);
}
}
} while ($r);