mirror of
				https://github.com/mperham/sidekiq.git
				synced 2022-11-09 13:52:34 -05:00 
			
		
		
		
	Rename workers to processors. New Railtie support.
Workers are the user's classes, the threads are now called processors. Add secret sauce to make Rails config much easier. Use a railtie to auto-add app/workers to the autoload path.
This commit is contained in:
		
							parent
							
								
									f08036f73e
								
							
						
					
					
						commit
						2771a0ad96
					
				
					 10 changed files with 100 additions and 47 deletions
				
			
		| 
						 | 
				
			
			@ -17,7 +17,6 @@ module Myapp
 | 
			
		|||
 | 
			
		||||
    # Custom directories with classes and modules you want to be autoloadable.
 | 
			
		||||
    # config.autoload_paths += %W(#{config.root}/extras)
 | 
			
		||||
    config.autoload_paths += %W(#{config.root}/app/workers)
 | 
			
		||||
 | 
			
		||||
    # Only load the plugins named here, in the order given (default is alphabetical).
 | 
			
		||||
    # :all can be used as a placeholder for all plugins not explicitly named.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue