Skip to content

Commit

Permalink
Revert "Temporarily disable rate limiting"
Browse files Browse the repository at this point in the history
This reverts commit 127e4c5.

Redis has been moved to us-east-1.
  • Loading branch information
unstubbable committed Mar 16, 2024
1 parent 127e4c5 commit dd473de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cdk/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ const envVariables = z.object({
GOOGLE_SEARCH_API_KEY: z.string(),
GOOGLE_SEARCH_SEARCH_ENGINE_ID: z.string(),
OPENAI_API_KEY: z.string(),
// UPSTASH_REDIS_REST_TOKEN: z.string(),
// UPSTASH_REDIS_REST_URL: z.string(),
UPSTASH_REDIS_REST_TOKEN: z.string(),
UPSTASH_REDIS_REST_URL: z.string(),
});

envVariables.parse(process.env);
4 changes: 2 additions & 2 deletions cdk/stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ export class Stack extends cdk.Stack {
GOOGLE_SEARCH_SEARCH_ENGINE_ID:
process.env.GOOGLE_SEARCH_SEARCH_ENGINE_ID,
OPENAI_API_KEY: process.env.OPENAI_API_KEY,
// UPSTASH_REDIS_REST_TOKEN: process.env.UPSTASH_REDIS_REST_TOKEN,
// UPSTASH_REDIS_REST_URL: process.env.UPSTASH_REDIS_REST_URL,
UPSTASH_REDIS_REST_TOKEN: process.env.UPSTASH_REDIS_REST_TOKEN,
UPSTASH_REDIS_REST_URL: process.env.UPSTASH_REDIS_REST_URL,
},
},
);
Expand Down

0 comments on commit dd473de

Please sign in to comment.