From 98c47deb423eb3eb9ec85d01bf08111da848088c Mon Sep 17 00:00:00 2001 From: Jake Bolam Date: Mon, 21 Jan 2019 14:25:40 -0500 Subject: [PATCH] fix: remove caching --- package.json | 3 +-- serverless.yml | 6 ------ yarn.lock | 16 ---------------- 3 files changed, 1 insertion(+), 24 deletions(-) diff --git a/package.json b/package.json index fd4aba19..81f4657b 100644 --- a/package.json +++ b/package.json @@ -25,8 +25,7 @@ "dependencies": { "all-contributors-cli": "^5.10.1", "compromise": "^11.13.0", - "probot": "^8.0.0-octokit-16-preview", - "serverless-api-gateway-caching": "^1.2.2" + "probot": "^8.0.0-octokit-16-preview" }, "devDependencies": { "@tophat/eslint-config": "^0.1.4", diff --git a/serverless.yml b/serverless.yml index bd430796..9c45eb89 100644 --- a/serverless.yml +++ b/serverless.yml @@ -2,12 +2,9 @@ service: all-contributors-bot frameworkVersion: '=1.35.1' plugins: - - serverless-api-gateway-caching - serverless-offline # must be last custom: - apiGatewayCaching: - enabled: true stage: ${opt:stage, self:provider.stage} appId: dev: '23544' @@ -53,6 +50,3 @@ functions: path: /stats method: get cors: true - caching: - enabled: true - ttlInSeconds: 3600 diff --git a/yarn.lock b/yarn.lock index 1e054449..0e3b5f5f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3669,10 +3669,6 @@ lodash.isboolean@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz#6c2e171db2a257cd96802fd43b01b20d5f5870f6" -lodash.isempty@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/lodash.isempty/-/lodash.isempty-4.4.0.tgz#6f86cbedd8be4ec987be9aaf33c9684db1b31e7e" - lodash.isinteger@^4.0.4: version "4.0.4" resolved "https://registry.yarnpkg.com/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz#619c0af3d03f8b04c31f5882840b77b11cd68343" @@ -3721,10 +3717,6 @@ lodash.sortby@^4.7.0: version "4.7.0" resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" -lodash.split@^4.4.0: - version "4.4.2" - resolved "https://registry.yarnpkg.com/lodash.split/-/lodash.split-4.4.2.tgz#a7f7bd9f37968b9312428e2f3ac3fb3173c4c3c6" - lodash.uniq@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" @@ -5066,14 +5058,6 @@ serve-static@1.13.2: parseurl "~1.3.2" send "0.16.2" -serverless-api-gateway-caching@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/serverless-api-gateway-caching/-/serverless-api-gateway-caching-1.2.2.tgz#45a59eb4c2c86ebea2082bd0930099d2c335f626" - dependencies: - lodash.get "^4.4.2" - lodash.isempty "^4.4.0" - lodash.split "^4.4.0" - serverless-offline@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/serverless-offline/-/serverless-offline-4.0.0.tgz#3ba9fe467ed6b7a0e4661160b2d7929bd5ca03df"