You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We were thinking it would be nice to have the option to defer the actual write operation for log entries until the request is sent to improve performance.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We were thinking it would be nice to have the option to defer the actual write operation for log entries until the request is sent to improve performance.
To implement this, we suggest using Laravel's new defer() function https://laravel.com/docs/11.x/helpers#deferred-functions. This should allow for a straightforward implementation.
The feature could be made configurable, either globally via the configuration file or on a per-model basis. For example:
Beta Was this translation helpful? Give feedback.
All reactions