Skip to content

Commit 043ef29

Browse files
committed
queue
1 parent 1c9c574 commit 043ef29

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pages/aws/config/overrides/queue.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ If you want to better understand how to implement your own Queue, the easiest wa
77

88
Couple of things to note :
99
- The default implementation use an SQS queue. This has the main advantage of being able to control the concurrency of the revalidations as well as avoiding trigerring the revalidation multiple times for the same route.
10-
- You don't have to use a queue at all. You could trigger the revalidation directly in the Queue override itself. You can see a very simple implementation of this [in the `queue` override](/aws/contribute/local_run#devqueuets).
10+
- You don't have to use a queue at all. You could trigger the revalidation directly in the Queue override itself. You can see a very simple implementation of this [in the `direct` override](https://github.com/opennextjs/opennextjs-aws/blob/main/packages/open-next/src/overrides/queue/direct.ts).
1111

1212
## Included Queue
1313

@@ -18,7 +18,7 @@ It uses the `@aws-sdk/client-sqs` to interact with SQS.
1818

1919
#### Requirements
2020

21-
- You need to provide the `QUEUE_URL` environment variable to your server.
21+
- You need to provide the `REVALIDATION_QUEUE_URL` environment variable to your server.
2222

2323
### sqs-lite
2424

@@ -27,7 +27,7 @@ This implementation is a lighter version of the `sqs` Queue as it uses `aws4fetc
2727

2828
#### Requirements
2929

30-
- You need to provide the `QUEUE_URL`, `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY` and `AWS_SESSION_TOKEN` environment variables to your server.
30+
- You need to provide the `REVALIDATION_QUEUE_URL`, `REVALIDATION_QUEUE_REGION`(will fallback to `us-east-1`), `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY` and `AWS_SESSION_TOKEN` environment variables to your server.
3131

3232
### direct
3333

0 commit comments

Comments
 (0)