mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-28 03:33:01 +00:00
removed logging of database queries
This commit is contained in:
1 parent
3c8cb59cb0
commit
759df843c2
1 file changed
+1
-1
@@ -21,7 +21,7 @@ export function initDatabase() {
|
||||
//
|
||||
entities: Object.values(Models).filter((x) => x.constructor.name !== "Object"),
|
||||
synchronize: true,
|
||||
logging: true,
|
||||
logging: false,
|
||||
cache: {
|
||||
duration: 1000 * 3, // cache all find queries for 3 seconds
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user