technocrat
Wizard step - Step Forward, Step Back Without Clicking the Action Button
from the javascript side, or from mount in a component after performing some task
tried this seems to be working but after or before validation function is not executing
5 replies
Database notification slowing down the app performance
Yup after login all the pages get freezed, After clearing all notification the app is running at blazing fast, actually this issue is arised in my production. I recreated this issue by adding this piece of code in command
$user = User::find(1);
if (!$user) {
$this->error('User with ID 1 not found.');
return;
}
for ($i = 0; $i < 1000; $i++) {
$user->notify(
Notification::make()
->title('Saved successfully')
->toDatabase(),
);
}
after this my local app gets freezed, Hence i concluded that the main culprit is this notification
14 replies