Question: how long does it take to get through edinburgh airport?
Answer: Edinburgh is a (relatively) small airport, allow 30-45 minutes for immigration. A bigger risk is your incoming flight being late. 1 hour late is not unusual, especially for cut-price airlines who have less slack in their times.