object-sync-for-salesforce icon indicating copy to clipboard operation
object-sync-for-salesforce copied to clipboard

Consider moving `is_push_allowed` into the queue processing function

Open jonathanstegall opened this issue 3 years ago • 0 comments

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.

jonathanstegall avatar May 24 '22 15:05 jonathanstegall