| 
					
				 | 
			
			
				@@ -14,7 +14,7 @@ from datetime import datetime 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import pymysql 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import token_list as tl 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 from concurrent.futures import ThreadPoolExecutor 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+max_workers=5 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 def adcreatives_get(access_token,account_id,fields) : #获取创意 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -651,7 +651,7 @@ def adcreative_vx_data(x,r): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 def get_adcreative_vx(): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     token_list_vx=get_campaign_update_list() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     r = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    executor = ThreadPoolExecutor(max_workers=30) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    executor = ThreadPoolExecutor(max_workers=max_workers) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     for x in token_list_vx: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         executor.submit(adcreative_vx_data,x,r) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     executor.shutdown() 
			 |