Don't turn on profiling
							parent
							
								
									0487c9441f
								
							
						
					
					
						commit
						f93ecf8783
					
				| 
						 | 
					@ -651,7 +651,7 @@ def _resource_id(resource, path_seg):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def run(hs):
 | 
					def run(hs):
 | 
				
			||||||
    PROFILE_SYNAPSE = True
 | 
					    PROFILE_SYNAPSE = False
 | 
				
			||||||
    if PROFILE_SYNAPSE:
 | 
					    if PROFILE_SYNAPSE:
 | 
				
			||||||
        def profile(func):
 | 
					        def profile(func):
 | 
				
			||||||
            from cProfile import Profile
 | 
					            from cProfile import Profile
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue