Worker smart placement doesn't work with "Not enough subrequests" message

Hi! I was really happy to find the new smart placement feature since it seems to be the exact answer to my problem. We host our servers in eu-west-1 (on Heroku), and nearly all our traffic comes from South Africa. Our worker is fetching and attaching authentication information before then forwarding the request on to the correct service - so every (authenticated) request is doing two round trips from SA - EU. I enabled smart placement but it shows me "Not enough subrequests" in the monitoring dashboard. The average number of requests per worker run should be somewhere around 1.8 (since some requests are unauthenticated). Is this too low for smart placement to kick in? Could this have something to do with the fact that one of the requests is created using the original request to keep all the headers/etc (const newRequest = new Request(newURL, event.request)? Is there something else I am missing? Thanks!
1 Reply
wildan2711
wildan271116mo ago
I'm getting the same, did you find a solution?
Want results from more Discord servers?
Add your server