diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2021-02-14 22:26:29 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-14 22:26:29 -0800 |
| commit | 50202d1391202c89bba475844e0b19eb1fd85955 (patch) | |
| tree | 0d610de204abf0c1b4958da0799debaffc21f8a3 /weed/command/scaffold.go | |
| parent | 8726ef34c1081d62bb0fa7348d56986a81acf9a0 (diff) | |
| parent | 7f458d5e78e380890771d925fee3df4f5f692e78 (diff) | |
| download | seaweedfs-50202d1391202c89bba475844e0b19eb1fd85955.tar.xz seaweedfs-50202d1391202c89bba475844e0b19eb1fd85955.zip | |
Merge pull request #1805 from LazyDBA247-Anyvision/master
better postgresql connection pool management
Diffstat (limited to 'weed/command/scaffold.go')
| -rw-r--r-- | weed/command/scaffold.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go index f838f7791..993391a42 100644 --- a/weed/command/scaffold.go +++ b/weed/command/scaffold.go @@ -160,6 +160,7 @@ schema = "" sslmode = "disable" connection_max_idle = 100 connection_max_open = 100 +connection_max_lifetime_seconds = 0 [postgres2] enabled = false @@ -181,6 +182,7 @@ schema = "" sslmode = "disable" connection_max_idle = 100 connection_max_open = 100 +connection_max_lifetime_seconds = 0 [cassandra] # CREATE TABLE filemeta ( |
