Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 217cef9

Browse files
committedApr 22, 2020
Merge branch 'improve-joe-tutorial' into 'master'
fix: update default configuration values (docs#21) See merge request postgres-ai/joe!119
2 parents 1767c3b + f762537 commit 217cef9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎config/config.example.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ platform:
2222
project: "demo"
2323

2424
# Enable sending command and queries history to the Postgres.ai Platform
25-
# for collaboration and visualization. By default: false.
26-
historyEnabled: false
25+
# for collaboration and visualization. By default: true.
26+
historyEnabled: true
2727

2828
# Channel Mapping section.
2929
# Feel free to choose any name for Database Lab instances from the `dblabServers` section,
@@ -53,7 +53,7 @@ channelMapping:
5353
# each time a new clone is created.
5454
dblabParams:
5555
dbname: postgres
56-
sslmode: disable
56+
sslmode: prefer
5757

5858
# Slack communication type configuration.
5959
slack:
@@ -81,7 +81,7 @@ channelMapping:
8181
# each time a new clone is created.
8282
dblabParams:
8383
dbname: postgres
84-
sslmode: disable
84+
sslmode: prefer
8585

8686
# Running Database Lab instances.
8787
dblabServers:

‎pkg/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ type Platform struct {
3434
URL string `env:"PLATFORM_URL" env-default:"https://postgres.ai/api/general"`
3535
Token string `env:"PLATFORM_TOKEN"`
3636
Project string `env:"PLATFORM_PROJECT"`
37-
HistoryEnabled bool `env:"HISTORY_ENABLED"`
37+
HistoryEnabled bool `env:"HISTORY_ENABLED" env-default:"true"`
3838
}
3939

4040
// ChannelMapping contains configuration parameters of communication types and Database Labs.

0 commit comments

Comments
 (0)
Please sign in to comment.