diff mercurial/wireprotov1peer.py @ 42364:a09829e14fc0

perf: make sure to explicitly disable any profiler after the first iteration The current code work, because of some edge behavior of the `profile` class. We make it explicit that the profiler is not in effect more than once.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 23 May 2019 19:05:39 +0200
parents 55e8da487b8a
children 268662aac075
line wrap: on
line diff