[dev] Agora: limiting requested threads, and getLastMessage
    Duck 
    duck at obala.net
       
    Sun Mar  6 10:42:18 PST 2005
    
    
  
--Boundary-00=_K80KCOsT4HK7BDb
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
With the usage of DataTree::sortByAttributes path I supplied today, I change 
Agora to slice the requested threads per page before creating the message 
objects. I imported 24.000 messages from a Phorum installation and without 
this patch it falls in max execution time, now it takes a few seconds. Still 
too much but is a step forward.
Duck
--Boundary-00=_K80KCOsT4HK7BDb
Content-Disposition: attachment;
	filename="agora.diff"
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
A non-text attachment was scrubbed...
Name: agora.diff
Type: text/x-diff
Size: 12491 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20050306/969f4ba1/agora.bin
--Boundary-00=_K80KCOsT4HK7BDb--
    
    
More information about the dev
mailing list