Closed ankurk91 closed 1 year ago
Hi @freekmurze
While profiling our Laravel app via Sentry, we found that this package is making one extra SQL query on each incoming webhook request.
This package saves the model and then dispatch the respective job, but it also clears any saved exception before as well.
Saving the exception as null will let Laravel know that the model is not dirty and Laravel will skip updating the row automatically.
exception
null
This will save around 10k SQL queries daily on our server. :smile:
Thanks again for this wonderful package.
Thanks!
Hi @freekmurze
While profiling our Laravel app via Sentry, we found that this package is making one extra SQL query on each incoming webhook request.
This package saves the model and then dispatch the respective job, but it also clears any saved exception before as well.
Saving the
exception
asnull
will let Laravel know that the model is not dirty and Laravel will skip updating the row automatically.This will save around 10k SQL queries daily on our server. :smile:
Thanks again for this wonderful package.