#[ERROR] Your Worker failed validation because it exceeded startup limits.

2 messages · Page 1 of 1 (latest)

jagged gull
#

Hi there, I am new to be in this trouble:


  To ensure fast responses, there are constraints on Worker startup, such as how much CPU it can
  use, or how long it can take. Your Worker has hit one of these startup limits. Try reducing the
  amount of work done during startup (outside the event handler), either by removing code or
  relocating it inside the event handler.

when I run this command: wrangler deploy --minify --env dev.

I also received the .cpuprofile file for debugging but it doesn't help me too much, because almost total times come from the anonymous or unmeaning file/functions.

Could you guys help me on this case? I will attach the worker.cpuprofile on the thread