Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 0ac6653

Browse files
committed
chore: add db pool of connections
1 parent 13447cc commit 0ac6653

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ class KOGBot_Client {
154154
user: this.environment.database.user,
155155
password: this.environment.database.password,
156156
database: this.environment.database.schema
157+
},
158+
pool: {
159+
min: 1,
160+
max: 10
157161
}
158162
});
159163

0 commit comments

Comments
 (0)