* Add query caching for lthe long running leaderboard queries -- 2hr ttl

This commit is contained in:
Anthony Mineo 2021-09-27 11:56:17 -04:00
parent 4df3a1b594
commit 86e13db165
4 changed files with 1964 additions and 2838 deletions

View file

@ -25,32 +25,34 @@
"test:e2e": "jest --config ./test/jest-e2e.json"
},
"dependencies": {
"@nestjs/common": "^7.4.4",
"@nestjs/config": "^0.5.0",
"@nestjs/core": "^7.4.4",
"@nestjs/mapped-types": "^0.1.0",
"@nestjs/platform-express": "^7.4.4",
"@nestjs/swagger": "^4.5.12",
"@nestjs/typeorm": "^7.1.4",
"@nestjs/common": "^8.0.7",
"@nestjs/config": "^1.0.1",
"@nestjs/core": "^8.0.7",
"@nestjs/mapped-types": "^1.0.0",
"@nestjs/platform-express": "^8.0.7",
"@nestjs/swagger": "^5.0.9",
"@nestjs/typeorm": "^8.0.2",
"cache-manager": "^3.4.4",
"class-transformer": "^0.3.1",
"class-validator": "^0.12.2",
"joi": "^17.2.1",
"pg": "^8.3.2",
"joi": "^17.4.2",
"pg": "^8.7.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^6.6.3",
"swagger-ui-express": "^4.1.4",
"typeorm": "^0.2.26"
"rxjs": "^7.3.0",
"swagger-ui-express": "^4.1.6",
"typeorm": "^0.2.37"
},
"devDependencies": {
"@nestjs/cli": "^7.0.0",
"@nestjs/schematics": "^7.1.2",
"@nestjs/testing": "^7.4.4",
"@types/express": "^4.17.8",
"@types/hapi__joi": "^17.1.4",
"@types/jest": "^26.0.14",
"@types/node": "^14.11.1",
"@types/supertest": "^2.0.8",
"@nestjs/cli": "^8.1.1",
"@nestjs/schematics": "^8.0.3",
"@nestjs/testing": "^8.0.7",
"@types/cache-manager": "^3.4.2",
"@types/express": "^4.17.13",
"@types/hapi__joi": "^17.1.7",
"@types/jest": "^27.0.2",
"@types/node": "^16.10.1",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"eslint": "^7.9.0",
@ -63,7 +65,7 @@
"ts-loader": "^8.0.3",
"ts-node": "^9.0.0",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.0.2"
"typescript": "^4.4.3"
},
"jest": {
"moduleFileExtensions": [