server/repository.py
branchstable
changeset 9165 7ebf3b1cdb4c
parent 9132 b6bcf99504c9
child 9171 be9596750678
equal deleted inserted replaced
9164:4415209bea0a 9165:7ebf3b1cdb4c
   237             config['connections-pool-size'] = 1
   237             config['connections-pool-size'] = 1
   238         if config.quick_start or config.creating or not config.read_instance_schema:
   238         if config.quick_start or config.creating or not config.read_instance_schema:
   239             # load schema from the file system
   239             # load schema from the file system
   240             if not config.creating:
   240             if not config.creating:
   241                 self.warning("set fs instance'schema")
   241                 self.warning("set fs instance'schema")
   242             self.set_schema(config.load_schema())
   242             self.set_schema(config.load_schema(expand_cubes=True))
   243         else:
   243         else:
   244             # normal start: load the instance schema from the database
   244             # normal start: load the instance schema from the database
   245             self.info('loading schema from the repository')
   245             self.info('loading schema from the repository')
   246             self.set_schema(self.deserialize_schema())
   246             self.set_schema(self.deserialize_schema())
   247         # 3. initialize data sources
   247         # 3. initialize data sources