diff --git a/util/src/util/Database.ts b/util/src/util/Database.ts index 2973e114..83236b8d 100644 --- a/util/src/util/Database.ts +++ b/util/src/util/Database.ts @@ -33,7 +33,12 @@ export function initDatabase(): Promise { synchronize: type !== "mongodb", logging: false, cache: { - duration: 1000 * 3, // cache all find queries for 3 seconds + duration: 1000 * 30, + type: "redis", + options: { + host: "localhost", + port: 6379, + }, }, bigNumberStrings: false, supportBigNumbers: true,