Give priority to specific Webhooks in WooCommerce

Job ID: 31445214

Budget: €36 – €0 EUR

I am using an ERP software that is receiving some webhooks from woocommerce to ERP to do the following actions:
1. create order, 2. update order, 3. product create 4. product update.

My big problem is that when I receive or update an order in WooCommerce,sometimes pending scheduled actions are too many so ERP is slow to receive or update the order.
So i need somehow to overide the pending queue hooks and give priority to 1. Create Order & the 2. Update Order.

I did the following test to fix my problem but it did't work because when an order is received, woocommerce takes forever to go to the thank you page..
https://wordpress.org/support/topic/modify-when-the-webhook-is-processed/
Related categories: PHP WordPress Software Architecture MySQL WooCommerce