postgres: add connection limit

This commit is contained in:
Joost Jager
2021-11-17 09:45:45 +01:00
parent b0fa19e8b0
commit 274faff980
8 changed files with 130 additions and 7 deletions

6
kvdb/postgres/no_db.go Normal file
View File

@@ -0,0 +1,6 @@
//go:build !kvdb_postgres
// +build !kvdb_postgres
package postgres
func Init(maxConnections int) {}