amitmerchant1990 / amitmerchant-dot-com-comments

1 stars 0 forks source link

detecting-slow-database-operations-in-laravel-9x/ #85

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Detecting slow database operations in Laravel 9.x — Amit Merchant — A blog on PHP, JavaScript, and more

When working with databases with web applications, you never know when some query, which used to work fine, starts slowing down in some scenarios.

https://www.amitmerchant.com/detecting-slow-database-operations-in-laravel-9x/

iprastha commented 1 year ago

The value provided in the example is in millisecond, 500ms means 0.5 seconds while the message says "Database queries exceeded 5 seconds on". It should be corrected to 5000 to match the message