Skip to content

Nova Action generate process takes to much time #1080

@tufankilicaslan

Description

@tufankilicaslan
  • Laravel Version: 5.7.16
  • Nova Version: 1.2.0
  • PHP Version: 7.2.10

Description:

When generating a Nova Action over thousand of records, there is a long time wait on browser even if this is a queued action. Actually it takes time to divide target models to chunks & create records on action_events table before it sent to the nova action. I think this action_events table records generate should be done in background, without holding user on browser for a long time.

Even I close the "action generate popup" after click "run action" button, the process is keep going on to generate in background. So, I think it's not make sense to keep user on browser just for showing "action run successfully" message, if this is a queued action.

Steps To Reproduce:

  • Create a simple model / resource file with thousand of records
  • Create a simple queued action
  • Run the action

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions