Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
miroswan authored Oct 2, 2020
1 parent 8d51151 commit cceb90a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions config/development_mysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ persistence:
maxIdleConns: 20
maxConnLifetime: "1h"
encodingType: "thriftrw"
decodingType: [ "thriftrw" ]
decodingTypes: [ "thriftrw" ]
mysql-visibility:
sql:
pluginName: "mysql"
Expand All @@ -28,7 +28,7 @@ persistence:
maxIdleConns: 2
maxConnLifetime: "1h"
encodingType: "thriftrw"
decodingType: [ "thriftrw" ]
decodingTypes: [ "thriftrw" ]

ringpop:
name: cadence
Expand Down
4 changes: 2 additions & 2 deletions config/development_postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ persistence:
maxIdleConns: 20
maxConnLifetime: "1h"
encodingType: "thriftrw"
decodingType: [ "thriftrw" ]
decodingTypes: [ "thriftrw" ]
postgres-visibility:
sql:
pluginName: "postgres"
Expand All @@ -28,7 +28,7 @@ persistence:
maxIdleConns: 2
maxConnLifetime: "1h"
encodingType: "thriftrw"
decodingType: [ "thriftrw" ]
decodingTypes: [ "thriftrw" ]

ringpop:
name: cadence
Expand Down
8 changes: 4 additions & 4 deletions docker/config_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ persistence:
sql:
pluginName: "mysql"
encodingType: "thriftrw"
decodingType: ["thriftrw"]
decodingTypes: ["thriftrw"]
databaseName: {{ default .Env.DBNAME "cadence" }}
connectAddr: "{{ default .Env.MYSQL_SEEDS "" }}:{{ default .Env.DB_PORT "3306" }}"
connectProtocol: "tcp"
Expand All @@ -40,7 +40,7 @@ persistence:
sql:
pluginName: "mysql"
encodingType: "thriftrw"
decodingType: ["thriftrw"]
decodingTypes: ["thriftrw"]
databaseName: {{ default .Env.VISIBILITY_DBNAME "cadence_visibility" }}
connectAddr: "{{ default .Env.MYSQL_SEEDS "" }}:{{ default .Env.DB_PORT "3306" }}"
connectProtocol: "tcp"
Expand All @@ -55,7 +55,7 @@ persistence:
sql:
pluginName: "postgres"
encodingType: "thriftrw"
decodingType: ["thriftrw"]
decodingTypes: ["thriftrw"]
databaseName: {{ default .Env.DBNAME "cadence" }}
connectAddr: "{{ default .Env.POSTGRES_SEEDS "" }}:{{ default .Env.DB_PORT "5432" }}"
connectProtocol: "tcp"
Expand All @@ -68,7 +68,7 @@ persistence:
sql:
pluginName: "postgres"
encodingType: "thriftrw"
decodingType: ["thriftrw"]
decodingTypes: ["thriftrw"]
databaseName: {{ default .Env.VISIBILITY_DBNAME "cadence_visibility" }}
connectAddr: "{{ default .Env.POSTGRES_SEEDS "" }}:{{ default .Env.DB_PORT "5432" }}"
connectProtocol: "tcp"
Expand Down

0 comments on commit cceb90a

Please sign in to comment.