Committer: vad
LJSUP-14114: Remove outdated user session in backgroundU 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');