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
I think this method should not call cache in any kind of production environment. I understand safe guarding while development is happening, but excessive connections to cache server (if it is Redis or any other) seems redundant.
Hey,
I think this method should not call cache in any kind of production environment. I understand safe guarding while development is happening, but excessive connections to cache server (if it is Redis or any other) seems redundant.
https://github.com/glorand/laravel-model-settings/blob/master/src/Traits/HasSettingsField.php#L106
I would suggest either a master switch for this check, an environment config, or altogether removing this method.
The text was updated successfully, but these errors were encountered: