The game will synchronise data with the cloud on average every 30 seconds.
If you want to ensure that your second device picks up exactly where you left off, make sure you wait a little longer before leaving the game on your first device.
Remember that synchronisation with the cloud is only possible while having a stable internet connection!