Skip to content

Commit fbef639

Browse files
author
zhangming03
committed
postgresql-readme.md
1 parent 2f79b18 commit fbef639

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ store:
2424
option:
2525
master:
2626
# 设置数据库类型为 postgresql
27-
dbType: postgresql
28-
dbName: polaris_server
29-
dbUser: ##DB_USER##
30-
dbPwd: ##DB_PWD##
31-
dbAddr: ##DB_ADDR##
32-
maxOpenConns: 300
33-
maxIdleConns: 50
34-
connMaxLifetime: 300 # Unit second
35-
txIsolationLevel: 2 #LevelReadCommitted
27+
dbType: "postgres"
28+
dbName: "polaris_server"
29+
dbUser: "改成自已有用户名" ##DB_USER##
30+
dbPwd: "改成自已的密码" ##DB_PWD##
31+
dbAddr: "改成自已的IP" ##DB_ADDR##
32+
dbPort: "改成自已的端口"
33+
maxOpenConns: -1
34+
maxIdleConns: -1
35+
connMaxLifetime: 300 # 单位秒
3636
```

import-format.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# specific language governing permissions and limitations under the License.
1616

1717
# 格式化 go.mod
18-
go mod tidy -compat=1.17
18+
go mod tidy -compat=1.18
1919

2020
# 处理 go imports 的格式化
2121
rm -rf style_tool

0 commit comments

Comments
 (0)