vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r17946: LJSUP-7635: clean friendstimes db cache

Committer: vad
LJSUP-7635: clean friendstimes db cache
U   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();
 

Tags: livejournal, pl, vadvs
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments