Consider moving `is_push_allowed` into the queue processing function
jonathanstegall opened this issue · 0 comments
jonathanstegall commented
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.