Prevent timeouts in views preview by adding a limit

Created on 29 October 2024, about 2 months ago

Problem/Motivation

If you have a view that has a substantial sized query or result, the views preview will timeout breaking the views interface when building views. If you set a limit, the export won't contain all the results. If you set a batch, it prevents the timeout on the front-end of the export but not in the views builder interface.

Steps to reproduce

Create a views data export with a lot of joins or so many records that it would cause a timeout when executing the view.

Proposed resolution

In preview mode, if a limit is not set, user the batch number as a limit to prevent the timeout.

Remaining tasks

Review proposed resolution and merge.

πŸ“Œ Task
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States andyg5000 North Carolina, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024