Added redis oplog with collection caching

This commit is contained in:
Stefan Zermatten
2023-06-01 08:30:12 +02:00
parent b402fdf517
commit 376d3bc522
7 changed files with 81 additions and 46 deletions

19
app/redis-settings.json Normal file
View File

@@ -0,0 +1,19 @@
{
"redisOplog": {
"redis": {
"port": 6379,
"host": "127.0.0.1"
},
"retryIntervalMs": 1000,
"mutationDefaults": {
"optimistic": true,
"pushToRedis": true
},
"cacheTimeout": 1800000,
"cacheTimer": 300000,
"secondaryReads": null,
"raceDetectionDelay": 1000,
"raceDetection": true,
"debug": false
}
}