[Bb-trac] [bbPress] #1012: cron causes unnecessary extra db query

bbPress bb-trac at lists.bbpress.org
Wed Dec 17 15:14:19 GMT 2008


#1012: cron causes unnecessary extra db query
----------------------+-----------------------------------------------------
 Reporter:  _ck_      |       Owner:                    
     Type:  defect    |      Status:  new               
 Priority:  low       |   Milestone:  1.0-beta & XML-RPC
Component:  Back-end  |     Version:  1.0-beta (trunk)  
 Severity:  minor     |    Keywords:                    
----------------------+-----------------------------------------------------
 Why doesn't cron load with all the other bb_options before init?

 You're grabbing it specifically from the db via bb_get_option_from_db and
 not using the cached query from 0.002 seconds ago ?

 {{{
 SELECT meta_value FROM bb_meta WHERE object_type = 'bb_option' AND
 meta_key = 'bp_bbpress_cron'

 }}}

-- 
Ticket URL: <http://trac.bbpress.org/ticket/1012>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list