Skip to content

Consider moving is_push_allowed into the queue processing function #477

@jonathanstegall

Description

@jonathanstegall

Is your feature request related to a problem? Please describe.
Currently the is_push_allowed method runs before adding a record to the plugin queue, so it's running right on the WordPress hook for create/update/etc. Depending on what this method is doing, it could potentially have a performance impact.

Describe the solution you'd like
I think we should consider moving it into the queue processing. It already runs on a queue with pull requests since all of those are queued.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions