problem: WeChat initiate payment interface "time_expire" expiry time, reach the set time, normal cancel orders, sweep code prompt "trade has been cancelled, but not to the local service notice, the local service cannot execute the order status changes,
the current solution: only by the timer, etc will timeout order cancellation, personally think that this way if there is a large amount of data or service restart will appear a series of problems, such as real-time control bad also, later period maintenance cost is higher,
for help: have a big dick can provide a better solution?
CodePudding user response:
The rabbitmq delay queue