Bulk Delete confirmation takes too long for large number of records selected

I'm having an issue with bulk delete confirmation, when selecting over 9000 records, the browser freezes and after a while i get the confirmation for delete message, this issue causing the server to crash. is there a way to fix it?
7 Replies
Tresor
Tresor3w ago
i think u can Use Queued Jobs for Deletion because it's take more time for this operation
Dennis Koch
Dennis Koch3w ago
Not really. The issue is, that we need to send 9000 IDs to the backend which is quite a lot of data and takes time.
SmereKa
SmereKa3w ago
chunk request maybe will help
0kyouma1
0kyouma1OP2w ago
I thought the issue was from livewire because the browser freezes for a few seconds, and the confirmation modal is the one that takes the time
Dennis Koch
Dennis Koch2w ago
Yes, it's the modal, because we send all the IDs, then the modal get's rendered.
0kyouma1
0kyouma1OP2w ago
is there a way around it ?
Dennis Koch
Dennis Koch2w ago
You could add a Table Header Action that deletes everything based on the query

Did you find this page helpful?