Continuation of the question that was asked here https://crm-onebox.com/ru/support/api-onebox/2912-perestalo-srabativat-deystvie-boxactionuniversalexportordertoapi--peredati-protses-v-api/#answer8616
Problem with this procedure https://baza.cn.ua/admin/shop/workflow/9/procedure/108/?status=0
I click on the button here https://baza.cn.ua/admin/customorder/order/26934/edit/
At startup, everything hangs stupidly and boxing is straight stupid
You have 20+ products in your order. You send each product as a separate request to the rest api. That's 23 requests. Each request, due to the number of actions to update the product (21 actions there), works out at least 9 seconds. Accordingly, we have 20*9=180. This means that the procedure will run for at least 3 minutes. What to do? There are several options: 1. Optimize the procedures that you set, for a fee in the form of improvements. 2. Make an action to update those fields of the product that you need so that you do not knock on your own api. Paid, in the form of improvements 3. Improve the server so that it processes requests faster 4. Reduce the number of automation actions
You have 20+ products in your order. You send each product as a separate request to the rest api. That's 23 requests. Each request, due to the number of actions to update the product (21 actions there), works out at least 9 seconds. Accordingly, we have 20*9=180. This means that the procedure will run for at least 3 minutes.
What to do?
There are several options:
1. Optimize the procedures that you set, for a fee in the form of improvements.
2. Make an action to update those fields of the product that you need so that you do not knock on your own api. Paid, in the form of improvements
3. Improve the server so that it processes requests faster
4. Reduce the number of automation actions
Bodyako Dmitry Employee wrote: Each request, due to the number of actions to update the product (21 actions there), works out at least 9 seconds
1. Where did you get 9 seconds from?
Bodyako Dmitry Employee wrote: 2. Make an action to update those fields of the product that you need so that you don’t knock yourself on the api
2. Why can't I knock on my own api, if not, why not?
[quote]
Bodyako Dmitry
Employee wrote:
Each request, due to the number of actions to update the product (21 actions there), works out at least 9 seconds
[/quote]
1. Where did you get 9 seconds from?
[quote]
Bodyako Dmitry
Employee wrote:
2. Make an action to update those fields of the product that you need so that you don’t knock yourself on the api
[/quote]
2. Why can't I knock on my own api, if not, why not?
Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter.
Log in and comment
Donate
You don't have enough funds in your account Top up