1b.app
Link copied -

During what period does the action "Import processes from Kasta.ua" extract data from Kasta and try to add it to the database?

In the settings of the action "Import processes from Kasta.ua" (which works on a per-minute basis), it is not specified in which periods the system will take data from Kasta and import it into the system
Tell me what period it is, is it a day, a month, a year, and how can it be influenced?
Original question is available on version: ua

Answers:

With Kasta.ua we receive all orders in the status "Created" - these are orders created by the client on the site
If the order has changed its status to any other, it will no longer be included in the unloading
14.06.2023, 11:38
Original comment available on version: ru

Юля
менеджер

Maria
OneBox production wrote:
From Kasta.ua we receive all orders in the status "Created" - these are orders created by the client on the site
If the order has changed its status to any other status, it will no longer be shipped

Thanks for the quick reply
Just dealt with this problem https://1b.app/ua/forum/utilities-and-settings/16593-raz-na-dobu-sistema-anomaln... -buti/?utm_source=email&utm_medium=forum&utm_campaign=/ua/forum/utilities-and-settings/16593-raz-na-dobu-sistema-anomalno-navantazhuietsya-na-2-4-godni-shcho-tse-mozhe-buti /#answer55946
And we saw in the logs (queries to the database) that the system sorts through all the orders that are from Caste (there in the link field (somehow) there was an order code from Caste, and this order was closed a year ago and its status changed a year ago and there were enough such orders a lot, it seems that there were all)
Maybe some other action could sort through these orders, or maybe under certain conditions the system can sort through all orders from Caste?
14.06.2023, 13:58
Original comment available on version: ua

Look at the status of the order on Cast, if it is still in the created status, then it can be processed (we will look for the code if not, we will create it).
14.06.2023, 14:18
Original comment available on version: ru

Юля
менеджер
Check again in the logs (and the database) you can see that the system sorts through all the orders
Orders starting with "S49..." are orders from 2022
Why the system sorts them (according to the database logs) is unclear, there is an assumption that the system does not take them in the "Created" status, but takes all of them and then sorts them all by subject or whether it is in the database.
Please explain why this happens, maybe we are wrong
20.06.2023, 17:54
Original comment available on version: ua

Юля
менеджер
Commentary is available in ua and not yet translated to the current language.
20.06.2023, 18:05

Can I link to your customized cast action?
20.06.2023, 20:17
Original comment available on version: ru

Юля
менеджер

Maria
OneBox production wrote:
Can you link to your customized caste action?

Good day
The manager has forbidden to provide links
We still have boxing on MVP
If possible, check the logic, because there is a risk that the system takes all the requests and then goes through them all, as a result of which there is a loss of load
In our cron-task statistics, "cron-minute" shows almost every minute that "box-auto-action-kasta-import-orders" takes more than 8 seconds, despite the fact that there are no orders, that is, it is somehow too much for a request order checks.
21.06.2023, 10:26
Original comment available on version: ua


Yulia wrote:
If possible, check the logic, because there is a risk that the system will take all the requests and then go through them all, as a result of which the load will be harmful

it would simply be possible to check whether, according to your data, we receive processes that have been closed for a long time, or whether it is not it that processes processes
21.06.2023, 11:55
Original comment available on version: ua

Юля
менеджер

Maria
OneBox production wrote:
it would simply be possible to check whether, according to your data, we receive processes that have been closed for a long time, or whether it is not it that processes processes

That's it, even after that there were still a batch of requests in which there was an order number + in the logs there are only requests for broadcasting from the caste, only there was some kind of field "link.."
21.06.2023, 14:14
Original comment available on version: ua

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