server: Restrict the cache size of MongoDB

This commit is contained in:
Alexander Polynomdivision committed 2018-10-09 15:13:18 +02:00
1 parent 6a8f0d1594
commit d5c4563c77
1 file changed
+3
+3
View File
@@ -1,6 +1,9 @@
storage: storage:
engine: wiredTiger engine: wiredTiger
dbPath: /etc/mongo/db/ dbPath: /etc/mongo/db/
wiredTiger:
engineConfig:
cacheSizeGB: 0.25
security: security:
authorization: enabled authorization: enabled