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
DanGamble
DanGamble16h ago
Do you do that via a service binding to the worker?
Ahz / Grimlor
Ahz / GrimlorOP16h ago
no, just localhost port if local, otherwise i use the service binding when not local i disable the fetch worker in remote/deployment
DanGamble
DanGamble16h ago
Gotcha, I'll give that a whirl, thank you!
Want results from more Discord servers?
Add your server