when the vregistry is initialized, no need to call vreg.set_schema (else we trigger appobjects registration twice. This allows significant startup speedup.
--- a/web/application.py Thu Jan 21 10:19:38 2010 +0100
+++ b/web/application.py Thu Jan 21 10:21:09 2010 +0100
@@ -242,7 +242,7 @@
if not vreg.initialized:
self.config.init_cubes(self.repo.get_cubes())
vreg.init_properties(self.repo.properties())
- vreg.set_schema(self.repo.get_schema())
+ vreg.set_schema(self.repo.get_schema())
# set the correct publish method
if config['query-log-file']:
from threading import Lock