fix build error

Former-commit-id: 6c270cbb39d3b46a34d970b35166319190b68019
pull/191/head
groot 2019-06-30 16:29:29 +08:00
commit 8daec65bc5
2 changed files with 12 additions and 1 deletions

View File

@ -53,6 +53,12 @@ If you encounter the following error when building:
### Launch server
Set config in cpp/conf/server_config.yaml
Add milvus/bin/lib to LD_LIBRARY_PATH
```
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/milvus/bin/lib
```
Then launch server with config:
cd [build output path]
start_server.sh

View File

@ -6,7 +6,12 @@ server_config:
db_config:
db_path: @MILVUS_DB_PATH@ # milvus data storage path
db_backend_url: sqlite://:@:/ # meta database uri
# URI format: dialect://username:password@host:port/database
# All parts except dialect are optional, but you MUST include the delimiters
# Currently dialect supports mysql or sqlite
db_backend_url: sqlite://:@:/
index_building_threshold: 1024 # index building trigger threshold, default: 1024, unit: MB
archive_disk_threshold: 512 # triger archive action if storage size exceed this value, unit: GB
archive_days_threshold: 30 # files older than x days will be archived, unit: day