Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/cloudflare/howtos/multi-worker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export default {
"services": [
{
"binding": "WORKER_SELF_REFERENCE",
"service": "middleware",
"service": "main-server",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's wasn't the case actually, we still need it to go through the middleware in some cases like res.revalidate.
The queue should be able to call directly here, but i'm not sure it's the right thing to do even in this case. It means exposing something that is supposed to not be accessible without going through the middleware/routing layer

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have updated the doc to make it clear that referencing the middleware is not a typo.
PTAL

},
],
"durable_objects": {
Expand Down