I've verified that the sync orders process properly removes orders from the returned orderbook, however, the keeper is still attempting to cancel orders which sync_orders didn't return. This change should block the synchonrize_orders method, until the order book has finished processing. This seems to be a cleaner approach than adding a counter to exit out of wait_for_order_processing_response if no queue is found after some time period.
I've verified that the sync orders process properly removes orders from the returned orderbook, however, the keeper is still attempting to cancel orders which
sync_orders
didn't return. This change should block thesynchonrize_orders
method, until the order book has finished processing. This seems to be a cleaner approach than adding a counter to exit out ofwait_for_order_processing_response
if no queue is found after some time period.