Skip to main content

Questions tagged [async]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
42 views

Does observer runs in the background or frontend

I am trying to understand about the events and observers in magento. I created an observer to listen to an event in the checkout page. I have configured it and it triggers after the place order button ...
Haarish Infant Raj's user avatar
2 votes
1 answer
103 views

How to optimize the config save on Adobe Commerce 2.4.7?

I have Adobe Commerce 2.4.7, with 500 stores, and my store configs take almost a minute to save the configs due to the huge traffic and large database. I heard that I could optimize it on 2.4.7. How ...
Rafael Corrêa Gomes's user avatar
0 votes
0 answers
23 views

Edit product via POST /products API

I’ve enabled single-store mode and created a new product using the async/bulk/V1/products functionality (\Magento\AsynchronousOperations\Model\MassSchedule). Initially, all attributes of this product ...
Adrian Pop's user avatar
0 votes
1 answer
115 views

Updating products in bulk with async endpoint fails with error getProductFromLocalCache() must be of the type string, null given

I'm trying to update multiple items as a batch in Version 2.4.3-p1 $productUpdates = []; foreach ($updates as $magento_sku => $data) { $productUpdates[] = [ 'sku' => $...
user2029890's user avatar
0 votes
3 answers
943 views

In magento 2 javascript , How i can wait till a component/node initialize then i can excute my code?

How to wait till components exists in registry . I want to wait till global component "messages" initialize then I can add error/success message. // view/frontend/templates/messages.phtml &...
Phạm Hòa's user avatar
0 votes
1 answer
641 views

can I use async/bulk/V1/products/ for bulk update products custom attributes?

Hi Can I use PUT async/bulk/V1/products/ this endpoint bulk update some custom attributes? However, I am not success to do so. Anyone can give me an advice what the payload should look like? Thankyou ...
Paul Fan's user avatar
  • 658
1 vote
1 answer
103 views

How to populate custom attribute while creating product with Bulk API ? 'asych/bulk/v1/products'?

I want to populate custom attribute while creating create product. I have created below plugin which is working fine while saving product using REST Bulk API v1/products. But it's not working while ...
Birjitsinh Zala's user avatar
0 votes
1 answer
211 views

How to restart async.operations.all after deleting a product?

I'm importing products in bulk. I followed the tutorial at https://devdocs.magento.com/guides/v2.3/rest/tutorials/bulk-configurable-product/config-product-intro.html with our own data. My scenario is ...
user72296's user avatar
0 votes
2 answers
719 views

Magento 2 dispatch observer without waiting for observer to finish

I am wanting to run some code that makes a request on product save, separate to the page product save happens on. I have correctly set up an observer that listens to the 'catalog_product_save_after' ...
Ben Dodson's user avatar
0 votes
1 answer
770 views

multiple queue: consumers: start async.operations.all in parallel

I would like to know why asynchronous operations processes queue: consumers: start async.operations.all are started every 10 minutes.
aib.ts's user avatar
  • 11
0 votes
1 answer
560 views

Magento 2 REST API bulk update product attributes

I am trying to update an attribute for about a thousand products using REST API. I'm using async/bulk/V1/products/bySku. It works perfectly, but it takes forever as it saves one product at a time. ...
krybbio's user avatar
  • 1,258
1 vote
2 answers
3k views

Does the default Magento 2.4.2 Require RabbitMQ Asynchronous message queueing?

Does Magento 2.4.2 (2.4.x) open source REQUIRE asynchronous message queueing (and thus installation of RabbitMQ) by default? I was under the impression that 'asynchronous message queueing' is an ...
Ray's user avatar
  • 43
0 votes
1 answer
355 views

How to Make Indexing process Async. in Magento 2

I am using Indexing process in Magento 2. I have 60 Million products and when i run indexer it just struck in processing from past 4 days. When i check indexer status on sow processlist it will run ...
Prits's user avatar
  • 625
0 votes
1 answer
2k views

"Specified request cannot be processed." when making any async/bulk REST API call in Magento 2

I have Magento Open Source 2.4.0 with PHP 7.4 and RabbitMQ 3.8 set up in app/etc/env.php: 'queue' => [ 'consumers_wait_for_messages' => 0, 'amqp' => [ 'host' => '127.0.0.1',...
bfontaine's user avatar
  • 122
2 votes
0 answers
437 views

Slow async bulk import via RabbitMQ, no multiple threads?

I really hope someone can help me out here. We have setup a RabbitMQ and a Magento 2.3.4. RabbitMQ runs and get about 83k messages via an import by our external product management software. There are ...
Keenora Fluffball's user avatar