Set the python thread switch interval to forever

This commit is contained in:
Kovid Goyal 2017-09-06 20:03:57 +05:30
parent 1684bda1e9
commit d4991424f9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -268,6 +268,7 @@ def setup_profiling(args):
def main():
sys.setswitchinterval(1000.0) # we have only a single python thread
if isosx:
ensure_osx_locale()
try: