Skip to content

Commit c1541aa

Browse files
committed
perf: add mikro-orm cache for x3 memory usage decrease
1 parent a1db4e8 commit c1541aa

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
db.sqlite3
33
sessions.sqlite3
44

5+
# Mikro ORM temp
6+
/temp
7+
58
# compiled output
69
/dist
710
/node_modules

src/mikro-orm.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,4 @@ export default {
1515
autoFlush: false, // Read more here: https://mikro-orm.io/unit-of-work/
1616
baseDir: path.join(__dirname, '..'),
1717
logger: logger.log.bind(logger),
18-
cache: { enabled: false },
1918
} as Options;

0 commit comments

Comments
 (0)