mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-25 07:32:09 +00:00
removed logging of database queries
This commit is contained in:
@@ -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