25 Jul 2023
	
		
		02:40 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		12 Dec 2023
	
		
		03:15 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 Ana_Kuzmenchuk
		
			Ana_Kuzmenchuk
		
		
		
		
		
		
		
		
	
			
		
Hello ,
I have seen weird behavior where if plugin implementation includes flow where it expects to execute piece of code in 'multiprocessing.process()' flow then somehow plugin flow gets blocked (but same implementation (class) works fine if we test outside oneagent extension runtime.
any idea what could be reason? does oneagent has constraint on execution of plugin in parallel or outside its process?
Thanks in advance. Kapil
Solved! Go to Solution.
12 Dec 2023 03:46 PM
The plugin thread and all child threads spawned by it needs to be finished within 1 minute. If you spawn additional threads, make sure that you close them within this period.
This will be changed in Python in Extension Framework 2.0, as threads can run as long as you like.
