[Erp5-dev] Inventory API optimisation

Pelletier Vincent vincent at nexedi.com
Thu Sep 6 14:48:52 CEST 2007


Hi.

I just commited new optimisatin code for Inventory lookups.
For now, it's not well tested besides unit testing, so you might want to 
disable it if you see it failing (please also report your problem on this 
list).

You can disable it by deleting the new ZSQLMethod
  portal_skins/erp5_core/Resource_zGetFullInventoryDate
It's not used anywhere outside of the new inventory optimisation code, so it's 
safe to delete (or to rename if you plan to use it later).

If this file does not exist, optimisation fails and falls back on usual 
behaviour, so it's a as-clean-as-possible "killswitch" for optimisation 
mechanism.

-- 
Vincent Pelletier



More information about the Erp5-dev mailing list