An open API service indexing awesome lists of open source software.

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

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
```