Skip to content

Commit

Permalink
Move to non-default redis/ledis ports
Browse files Browse the repository at this point in the history
Moved client ports to non redis default to avoid conflict with any other running instances
  • Loading branch information
matt-farmer authored Dec 19, 2016
2 parents 03662ea + 804b363 commit 78e1d10
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ harness/var/goleveldb_data/CURRENT

harness/var/goleveldb_data/LOG

harness/var/*.*

harness/redis/*.*

*.pprof

harness/var/goleveldb_data/CURRENT

harness/var/goleveldb_data/CURRENT
Expand All @@ -47,3 +53,4 @@ harness/var/goleveldb_data/CURRENT
harness/var/goleveldb_data/LOCK

harness/var/goleveldb_data/LOG

3 changes: 3 additions & 0 deletions harness/nias.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ TestYear = "2017"

# Validations to invoke
# ValidationRoute = ["schema", "local", "id", "dob", "asl"]
# ValidationRoute = ["schema", "id", "dob", "asl", "psi"]
# ValidationRoute = ["schema", "asl", "dob", "id"]
ValidationRoute = ["schema", "schema2", "id", "dob", "asl", "psi", "numericvalid"]
SSFRoute = ["privacy"]
SMSRoute = ["sif2graph"]
Expand Down Expand Up @@ -57,4 +59,5 @@ PoolSize = 3
# Remember to set -cluster_id of streaming server to 'nias' if used.

MsgTransport = "NATS"
# MsgTransport = "MEM"
# ============================================================================
8 changes: 4 additions & 4 deletions lib/ledis.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (
"log"
)

const DEF_STORAGE_DB_ADDRESS = "127.0.0.1:6379"
const DEF_STORAGE_DB_PROXY_ADDRESS = "127.0.0.1:6379"
const DEF_LOOKUP_DB_ADDRESS = "127.0.0.1:6380"
const DEF_LOOKUP_DB_PROXY_ADDRESS = "127.0.0.1:6380"
const DEF_STORAGE_DB_ADDRESS = "127.0.0.1:6397"
const DEF_STORAGE_DB_PROXY_ADDRESS = "127.0.0.1:6397"
const DEF_LOOKUP_DB_ADDRESS = "127.0.0.1:6399"
const DEF_LOOKUP_DB_PROXY_ADDRESS = "127.0.0.1:6399"

// alternative ports for db clustering; twemproxy, xcodis etc.
// const DEF_DB_ADDRESS = "127.0.0.1:6379"
Expand Down

0 comments on commit 78e1d10

Please sign in to comment.