zephyr_mirror: Add options to run class mirror without sharding for debugging.
(imported from commit 4fcc403504d93e30aca6046cba9f1fe5342faac6)
This commit is contained in:
		
							parent
							
								
									18bbd02074
								
							
						
					
					
						commit
						8683613e76
					
				
					 2 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -39,7 +39,7 @@ if options.sync_subscriptions:
 | 
			
		|||
    subprocess.call(args)
 | 
			
		||||
    sys.exit(0)
 | 
			
		||||
 | 
			
		||||
if options.forward_class_messages:
 | 
			
		||||
if options.forward_class_messages and not options.noshard:
 | 
			
		||||
    sys.path.append("/home/humbug/humbug")
 | 
			
		||||
    from zephyr.lib.parallel import run_parallel
 | 
			
		||||
    print "Starting parallel zephyr class mirroring bot"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue