Variable OMS execution time

mihaistana
mihaistana Backend dev Posts: 1 🧑🏻‍🚀 - Cadet

I need to check the status of payments with the OMS as follows

every minute for the first 6 hours (this is the default)
every 15 minutes from 6 hours to 48 hours.

How can I do this with the OMS?

I tried to modify the getStateMachineLockerTimeoutInterval() from the OmsConfig but if I change it to 15 minutes it's applied to all the orders from the first check

Tagged: