Usually, the restaurant will confirm your order within 3 minutes. But sometimes it can be longer due to the high demand or busy hours at the restaurant. You can wait for a while until your order is confirmed.
However, if after 3 minutes the restaurant failed to confirm your order, then it will be canceled by the system automatically. You can order again at a different restaurant or what a while if you want to order at the same restaurant.