I wonder if there's a more efficient way to find the offending code in a situation like this?
I wonder if there's a more efficient way to find the offending code in a situation like this?

Scheduled Workers (Cron Triggers) have different limits on CPU time based on the schedule interval. When the schedule interval is less than 1 hour, a Scheduled Worker may run for up to 30 seconds. When the schedule interval is more than 1 hour, a scheduled Worker may run for up to 15 minutes.









export default class Entrypoint extends WorkerEntrypoint {
async fetch(req: Request) {
console.log('fetch'); // this is not logged
return new Response('ok');
}
async queue(batch: MessageBatch<Message>) {
// this runs on deployed workers fine
}
}curl -X POST http://localhost:8787