1b.app
Link copied -

The presence of goods on the Goodshop is transferred more, lower earlier

We export goods on Good Deal https://crm.dobavki.ua/admin/auto/action/hour/edit/
Previously, more than 150 requests were transferred via API in one year, and all close to 40,000 goods were updated. We know for sure that there was a problem with export and we asked for correction: https://box.webproduction.ua/admin/customorder/issue/2015510936/edit/
Now, only 14-15 drinks are transferred per year, and in order to change the same number of goods, it takes about 18 years (duplicate articles appear in the logs at 19:00).
Kroni will do well, there is nothing to overwhelm.
Tell me, be kind, why did the frequency of drinking decrease and how to correct it?
Original question is available on version: ru

Answers:

You have specified for 1 request to transfer 1000 products - such a request in the API completes about 160-170 seconds.
And with a subsequent request (for the next thousand products), we get either the error {"status":"HTTP_ERROR","response":{"code":429,"message":"You hour requests limit has been exceeded. Retry after 2969 seconds "}} , or an error {"status":"ERROR","response":{"message":"Unknown server error. Please let us know"}}
All this can be seen in the log https://crm.dobavki.ua/admin/logs/showall/ajax/?file=horoshop-2021-08-03.log
Actually, I can’t give you a solution to speed up and increase the limits of the third-party API
03.08.2021, 15:14
Original comment available on version: ru

When changing to the recommended quantity for 1 request of 200 products - the request takes from 8.5 to 13.5s, averaged 11s
Then simple math - transferring 5 times 200 products on average will take 55 seconds of API time, and transferring 1000 at a time - 160-170s
Draw your own conclusions about what your mistake was - ignore the inscription "default - 500, recommended - 200" and put several times more - 1000.
04.08.2021, 10:21
Original comment available on version: ru

Ярина
Personal license
razumilo, dyakuyu. podtrimka Well, it seems that there are API interruptions in them at once, check it out, while fixing it.
04.08.2021, 10:33
Original comment available on version: ru

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