[livejournal] r17946: LJSUP-7635: clean friendstimes db cache
Committer: vad
LJSUP-7635: clean friendstimes db cacheU trunk/bin/maint/clean_caches.pl
Modified: trunk/bin/maint/clean_caches.pl
===================================================================
--- trunk/bin/maint/clean_caches.pl 2010-12-16 11:36:02 UTC (rev 17945)
+++ trunk/bin/maint/clean_caches.pl 2010-12-16 11:37:06 UTC (rev 17946)
@@ -186,10 +186,8 @@
print "-I- Cleaning friendstimes.\n";
foreach my $c (@LJ::CLUSTERS) {
- warn " cleand cluster $c";
my $dbcm = LJ::get_cluster_master($c);
$dbcm->do("DELETE FROM friendstimes WHERE added < UNIX_TIMESTAMP() - 86400*7 LIMIT 100000");
- warn " done";
}
LJ::disconnect_dbs();
