He doesn't have to lose though. Yes it needs 180 no votes to trigger a leadership election, but Theresa May lasted 6 months even though she didn't lose the vote of no confidence against her. Its how long Boris can continue knowing that x% of his own MPs don't want him there. In May's case it was 35%.