diff --git a/node/index.ts b/node/index.ts index a56c295..f21fe65 100644 --- a/node/index.ts +++ b/node/index.ts @@ -36,7 +36,7 @@ import { fieldResolvers } from './resolvers/fieldResolvers' import { getAffiliateByEmail } from './resolvers/getAffiliateByEmail' import { schemaDirectives } from './directives' -const TIMEOUT_MS = 30000 +const TIMEOUT_MS = 60000 // This is the configuration for clients available in `ctx.clients`. const clients: ClientsConfig = { diff --git a/node/package.json b/node/package.json index 5562ad0..838808f 100644 --- a/node/package.json +++ b/node/package.json @@ -9,7 +9,7 @@ "@types/jest": "^27.0.2", "@types/node": "^12.0.0", "@types/ramda": "types/npm-ramda#dist", - "@vtex/api": "6.45.24", + "@vtex/api": "6.46.1", "@vtex/test-tools": "^3.4.1", "@vtex/tsconfig": "^0.5.6", "typescript": "3.9.7" diff --git a/node/service.json b/node/service.json index d5d6998..874e2a1 100644 --- a/node/service.json +++ b/node/service.json @@ -1,7 +1,7 @@ { "memory": 256, "ttl": 10, - "timeout": 2, + "timeout": 60, "minReplicas": 2, "maxReplicas": 4, "workers": 1, diff --git a/node/yarn.lock b/node/yarn.lock index 2cfb8f2..412f6a4 100644 --- a/node/yarn.lock +++ b/node/yarn.lock @@ -1658,10 +1658,10 @@ resolved "https://registry.yarnpkg.com/@types/zen-observable/-/zen-observable-0.8.3.tgz#781d360c282436494b32fe7d9f7f8e64b3118aa3" integrity sha512-fbF6oTd4sGGy0xjHPKAt+eS2CrxJ3+6gQ3FGcBoIJR2TLAyCkCyI8JqZNy+FeON0AhVgNJoUumVoZQjBFUqHkw== -"@vtex/api@6.45.24": - version "6.45.24" - resolved "https://registry.yarnpkg.com/@vtex/api/-/api-6.45.24.tgz#5643d80de9b5ac9491c03a47be0329872896a6eb" - integrity sha512-BaNdncM2Jfqdu/DikxrDVH7fdek5vH02nvH4RCyNcZ3KSSYZaKk4QGr2EjEHI/rhkOIbJOlOAW5ol4uDcGbQjQ== +"@vtex/api@6.46.1": + version "6.46.1" + resolved "https://registry.yarnpkg.com/@vtex/api/-/api-6.46.1.tgz#55a8755ae48f5400e7f1ed1921cd547950bb7a2a" + integrity sha512-geoxVvyWoQpOQ70Zmx3M8SBkRoGOS/bp9Gy26M+iCue63jofVSwmFz1zf66EaHA1PKOJNRgQPFwY+oeDE1U2lQ== dependencies: "@types/koa" "^2.11.0" "@types/koa-compose" "^3.2.3" @@ -5709,7 +5709,7 @@ static-extend@^0.1.1: define-property "^0.2.5" object-copy "^0.1.0" -stats-lite@vtex/node-stats-lite#dist: +"stats-lite@github:vtex/node-stats-lite#dist": version "2.2.0" resolved "https://codeload.github.com/vtex/node-stats-lite/tar.gz/1b0d39cc41ef7aaecfd541191f877887a2044797" dependencies: