Skip to content

Remove the background job handler dependency from the batch handler #268

Open
@ChaseWiseman

Description

@ChaseWiseman

Right now our SV_WP_Job_Batch_Handler utility relies on the background/async job handler by simply processing chunks of a background job in batches. This works very well for plugins that support both types of job processing and those with a UI for listing ongoing jobs (so batches can be resumed, paused, etc...), but it can be overkill for plugins that don't really need background processing at all.

We should make the underlying job handler optional so that plugins don't have to worry about any of that and can just process batches until the user navigates away.

Activity

added
RefactorIssues and pull requests that involve refactoring of FW components
Background JobsCode concerning background jobs
on Feb 27, 2018
modified the milestones: v5.2.0, v5.3.0 on Feb 27, 2018
removed this from the v5.5.0 milestone on Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Background JobsCode concerning background jobsFeatureRefactorIssues and pull requests that involve refactoring of FW components

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @ChaseWiseman

        Issue actions

          Remove the background job handler dependency from the batch handler · Issue #268 · godaddy-wordpress/wc-plugin-framework