[pLog-svn] r5232 - plog/branches/lifetype-1.2/class/dao

Oscar Renalias oscar at renalias.net
Fri Mar 30 15:37:07 EDT 2007


Yeah I think it's fine. I decided to settle on a pretty low limit  
just in case... but I never ran any tests to see how much we could  
delete at once.

On 30 Mar 2007, at 22:36, jondaley at devel.lifetype.net wrote:

> Author: jondaley
> Date: 2007-03-30 15:36:40 -0400 (Fri, 30 Mar 2007)
> New Revision: 5232
>
> Modified:
>    plog/branches/lifetype-1.2/class/dao/purgedata.class.php
> Log:
> does anyone object to this?  It takes forever to delete stuff 5  
> items at a time, and it only takes a second or two on my server to  
> delete 5 items, so I think we are far enough away from the 30  
> second limit on slower servers??  Or do we know that some people  
> can't erase that much data before the PHP timeout?
>
> Modified: plog/branches/lifetype-1.2/class/dao/purgedata.class.php
> ===================================================================
> --- plog/branches/lifetype-1.2/class/dao/purgedata.class.php	 
> 2007-03-30 19:35:08 UTC (rev 5231)
> +++ plog/branches/lifetype-1.2/class/dao/purgedata.class.php	 
> 2007-03-30 19:36:40 UTC (rev 5232)
> @@ -2,7 +2,7 @@
>
>  	lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
>  	
> -	define( "DEFAULT_PURGE_AMOUNT", 5 );
> +	define( "DEFAULT_PURGE_AMOUNT", 15 );
>
>  	/**
>  	 * This class takes care of purging data, since it's a very  
> complex process anyway
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>



More information about the pLog-svn mailing list