To transit USA/Canada YYZ you can need a solid hour so 2 should give you enough buffer.
Horrible baggage handling is main bottle neck, you have to retrieve your bags to go through Add in spotty customs clearing unless you have a Nexus card it's not a quick process.
If you are carryon only it will help