diff options
| author | LazyDBA247-Anyvision <yonin@anyvision.co> | 2021-02-15 07:45:09 +0200 |
|---|---|---|
| committer | LazyDBA247-Anyvision <yonin@anyvision.co> | 2021-02-15 07:45:09 +0200 |
| commit | 7f458d5e78e380890771d925fee3df4f5f692e78 (patch) | |
| tree | 27504329a544b84b097ebb97e7ed4886075d4cd6 /weed/shell/command_ec_encode.go | |
| parent | 0bc3a1f9e88baca5f592d50ca028d169c86f0dc8 (diff) | |
| download | seaweedfs-7f458d5e78e380890771d925fee3df4f5f692e78.tar.xz seaweedfs-7f458d5e78e380890771d925fee3df4f5f692e78.zip | |
better postgres connection pool management
adding SetConnMaxLifetime configuration (https://golang.org/pkg/database/sql/#DB.SetConnMaxLifetime)
to enable refresh of stale connections.
Diffstat (limited to 'weed/shell/command_ec_encode.go')
0 files changed, 0 insertions, 0 deletions
