We have a problem in our Woo store and it's related to Omniva updating the order meta.
This is happening each time an order is saved. The problem is that it's taking around a minute every time an order needs to be saved.
It would take shorter, but we also have to make calls to an external API and they take just 500ms. The issue arises when Omniva bugs out and makes those calls 100+ times which amounts to the minute.
I have this screenshot from New Relic which pinpointed the issue.
The api call to api.mycustomizer.com shows count 104. Not all of them are from Omniva, but as you can see on the bottom, it's entering some kind of loop.
This happens regardless of the order status or contents.
And disabling the Omniva plugin reduces the save time to around 4 seconds.
Hello.
We have a problem in our Woo store and it's related to Omniva updating the order meta. This is happening each time an order is saved. The problem is that it's taking around a minute every time an order needs to be saved. It would take shorter, but we also have to make calls to an external API and they take just 500ms. The issue arises when Omniva bugs out and makes those calls 100+ times which amounts to the minute.
I have this screenshot from New Relic which pinpointed the issue.
The api call to
api.mycustomizer.com
shows count 104. Not all of them are from Omniva, but as you can see on the bottom, it's entering some kind of loop.This happens regardless of the order status or contents. And disabling the Omniva plugin reduces the save time to around 4 seconds.
Here's the site's info: https://pastebin.com/JciA6SeS Password: mijora/omniva