vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r23219: LJSUP-14114: Remove outdated user sessio...

Committer: vad
LJSUP-14114: Remove outdated user session in background
U   trunk/bin/maint/clean_caches.pl
Modified: trunk/bin/maint/clean_caches.pl
===================================================================
--- trunk/bin/maint/clean_caches.pl	2012-10-30 12:00:42 UTC (rev 23218)
+++ trunk/bin/maint/clean_caches.pl	2012-10-30 12:04:53 UTC (rev 23219)
@@ -188,7 +188,7 @@
     LJ::disconnect_dbs();
     foreach my $c (@LJ::CLUSTERS) {
         my $dbh = LJ::get_cluster_master($c);
-        $dbh->do("DELETE FROM sessions WHERE timeexpire < UNIX_TIMESTAMP() LIMIT 50000");
+        $dbh->do("DELETE FROM sessions WHERE timeexpire < UNIX_TIMESTAMP() LIMIT 100000");
     }
 
     LJ::run_hooks('extra_cache_clean');

Tags: livejournal, pl, vad, 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