boyney123 / garie-lighthouse

Lighthouse Garie plugin. Polls websites to checkout performance metrics also supports webhooks.
MIT License
50 stars 24 forks source link

Chrome crush without lighthouse noticing leads to an infinite loop #4

Closed mouafa closed 5 years ago

mouafa commented 5 years ago

What happened:

image

Problem description: Chrome is crashing and lighthouse continues to run without rejecting or fulfilling its Promise, and garie-lighthouse never move to the next URL since it didn't finish with the first one, once the cron job is fired again the same thing happens again, it's pretty much a never ending game.

Suggested solution: Time base short circuit, let's say default to 5min (customized via Env Var) if it's timed out, we simply kill chrome and move on to the next URL.

mouafa commented 5 years ago

I'm closing this, if anyone stumbled upon the same issue, you could try this alternative:

https://github.com/mouafa/iceberg-lighthouse