cubicweb/server/repository.py
changeset 11975 248039d0e6b1
parent 11962 36851c8b6763
child 11977 6eb79532af12
equal deleted inserted replaced
11974:d92d75b17a85 11975:248039d0e6b1
   288             # limit connections pool size
   288             # limit connections pool size
   289             pool_size = min_pool_size
   289             pool_size = min_pool_size
   290         if config.quick_start or config.creating or not config.read_instance_schema:
   290         if config.quick_start or config.creating or not config.read_instance_schema:
   291             # load schema from the file system
   291             # load schema from the file system
   292             if not config.creating:
   292             if not config.creating:
   293                 self.info("set fs instance'schema")
   293                 self.info("set fs instance's schema")
   294             self.set_schema(config.load_schema(expand_cubes=True))
   294             self.set_schema(config.load_schema(expand_cubes=True))
   295             if not config.creating:
   295             if not config.creating:
   296                 # set eids on entities schema
   296                 # set eids on entities schema
   297                 with self.internal_cnx() as cnx:
   297                 with self.internal_cnx() as cnx:
   298                     for etype, eid in cnx.execute('Any XN,X WHERE X is CWEType, X name XN'):
   298                     for etype, eid in cnx.execute('Any XN,X WHERE X is CWEType, X name XN'):