equal
deleted
inserted
replaced
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 |