Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to delete thousands of records in bulk gives 504 Gateway Timeout #5985

Closed
philsturgeon opened this issue Oct 24, 2023 · 0 comments
Closed
Labels
pending Issues that are pending triage

Comments

@philsturgeon
Copy link

  • Laravel Version: 10.25.1
  • Nova Version: 4.27.13
  • PHP Version: 8.2 (laravelphp/vapor:php82)
  • Database Driver & Version: MySQL
  • Operating System and Version: laravelphp/vapor:php82
  • Browser type and version: Firefox 118.0.2 (64-bit)

Description:

I need to wipe out all the trees planted at a location, there's 27,000 of them, and when I try to delete them all I only get about 1000-4000 deleted before the bulk delete returns a 504, and the delete modal window does not show anythinig went wrong.

Detailed steps to reproduce the issue on a fresh Nova installation:

Create several thousand records. Something over 10,000. On the index view filter by something, then try to delete all.

image

This is hosted on vapor with timeout set to 30 seconds.

Here's a video.

Screen.Recording.2023-10-24.at.4.55.38.PM.mov

Perhaps the delete process needs to be able to batch or individually delete records to let the browser handle some of this load?

@crynobone crynobone added the pending Issues that are pending triage label Oct 25, 2023
@laravel laravel locked and limited conversation to collaborators Feb 19, 2024
@crynobone crynobone converted this issue into discussion #6221 Feb 19, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
pending Issues that are pending triage
Projects
None yet
Development

No branches or pull requests

2 participants