https://github.com/unstubbable/upstash-ratelimit-analytics-lambda-timeout
Reproducing a task timeout in Lambda when using analytics for @upstash/ratelimit
https://github.com/unstubbable/upstash-ratelimit-analytics-lambda-timeout
Last synced: 4 months ago
JSON representation
Reproducing a task timeout in Lambda when using analytics for @upstash/ratelimit
- Host: GitHub
- URL: https://github.com/unstubbable/upstash-ratelimit-analytics-lambda-timeout
- Owner: unstubbable
- License: mit
- Created: 2024-03-18T10:06:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-18T10:10:49.000Z (over 1 year ago)
- Last Synced: 2025-06-23T12:45:42.585Z (6 months ago)
- Language: TypeScript
- Homepage:
- Size: 86.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Reproducing a task timeout in a response-streaming Lambda function, when using
analytics for `@upstash/ratelimit`.
## Deploy a Lambda with a Function URL
Required environment variables:
- `AWS_ACCESS_KEY_ID`
- `AWS_SECRET_ACCESS_KEY`
- `AWS_REGION`
- `UPSTASH_REDIS_REST_URL`
- `UPSTASH_REDIS_REST_TOKEN`
```
npm run deploy
```