disable fefe and garbage collection threads
This commit is contained in:
		
							
								
								
									
										14
									
								
								bert.py
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								bert.py
									
									
									
									
									
								
							@@ -604,15 +604,15 @@ def main():
 | 
			
		||||
   auth.set_access_token(access_token, access_secret)
 | 
			
		||||
   api = tweepy.API(auth)
 | 
			
		||||
   thread_command = command_thread(1)
 | 
			
		||||
   thread_fefe = fefe_thread(2)
 | 
			
		||||
   thread_gc = gc_thread(3)
 | 
			
		||||
   #thread_fefe = fefe_thread(2)
 | 
			
		||||
   #thread_gc = gc_thread(3)
 | 
			
		||||
   thread_command.start()
 | 
			
		||||
   sleep(2)
 | 
			
		||||
   thread_fefe.start()
 | 
			
		||||
   sleep(2)
 | 
			
		||||
   thread_gc.start()
 | 
			
		||||
   #sleep(2)
 | 
			
		||||
   #thread_fefe.start()
 | 
			
		||||
   #sleep(2)
 | 
			
		||||
   #thread_gc.start()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
if __name__ == "__main__":
 | 
			
		||||
   gc.enable()
 | 
			
		||||
   #gc.enable()
 | 
			
		||||
   main()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user