Question: how long to get through immigration at edinburgh?
Answer: The UK is not part of the Schengen Area, there will be immigration after you disembark at Edinburgh. Edinburgh is a (relatively) small airport, allow 30-45 minutes for immigration.