Set the python thread switch interval to forever
This commit is contained in:
parent
1684bda1e9
commit
d4991424f9
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue