Skip to content

Commit

Permalink
Merge pull request #149 from LiilyZhang/zhangl/newMongo
Browse files Browse the repository at this point in the history
Zhangl/new mongo
  • Loading branch information
LiilyZhang committed May 29, 2024
2 parents 1a655e3 + 770d90f commit ba8f438
Show file tree
Hide file tree
Showing 9 changed files with 867 additions and 638 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ The following is a list of the main features provided by the sync service:
1. `export GOPATH=$(pwd)`
2. `go get -d github.com/open-horizon/edge-sync-service`
3. `cd src/github.com/open-horizon/edge-sync-service`
4. `./get_dependencies.sh`
4. `go mod tidy`
5. `go mod vendor`
6. `./get_dependencies.sh`

### Build

Expand Down
2 changes: 1 addition & 1 deletion common/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ func SetDefaultConfig(config *Config) {
config.EnableDataChunk = true
config.MaxDataChunkSize = 5120 * 1024
config.MaxInflightChunks = 1
config.MongoAddressCsv = "localhost:27017"
config.MongoAddressCsv = "mongodb://localhost:27017"
config.MongoDbName = "d_edge"
config.MongoAuthDbName = "admin"
config.MongoUsername = ""
Expand Down
Loading

0 comments on commit ba8f438

Please sign in to comment.