my main app is a pages project, and i
my main app is a pages project, and i have a separate worker for consuming the queue, on the qworker, i have a fetch which accepts the same payload as the queue send. if the origin worker is the same as the consumer worker, the queue works as expected locally, i only send to the fetch if my env is local, otherwise my pages app sends directly to the queue
3 Replies
Do you do that via a service binding to the worker?
no, just localhost port if local, otherwise i use the service binding when not local
i disable the fetch worker in remote/deployment
Gotcha, I'll give that a whirl, thank you!