Raise connection pool for db
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
eb28ca0878
commit
478e89b140
2 changed files with 4 additions and 4 deletions
|
@ -4,9 +4,9 @@ RUN apk update && apk add git \
|
|||
build-base \
|
||||
curl \
|
||||
bash \
|
||||
openssl3 \
|
||||
openssl3-dev \
|
||||
openssl3-libs-static \
|
||||
openssl \
|
||||
openssl-dev \
|
||||
openssl-libs-static \
|
||||
sqlite-dev \
|
||||
sqlite-static
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ var GroupMedia = initTable[int, string]()
|
|||
let AdminID = getEnv("ADMIN_ID").split(",")
|
||||
|
||||
let dbConn* = getDb()
|
||||
var connPool = newPool[DbConn](15)
|
||||
var connPool = newPool[DbConn](100)
|
||||
|
||||
# Functions to assist adding/deleting entries from tables
|
||||
func NewCensoredData*(ftype = ""; fhash = ""; fileid = ""; time = 0.0; caption = ""):
|
||||
|
|
Loading…
Reference in a new issue