mirror of
				https://github.com/puma/puma.git
				synced 2022-11-09 13:48:40 -05:00 
			
		
		
		
	Without this, the graceful stop code has to wait for the persistent timeout to expire even though there is actually no work going on.
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			147 B
		
	
	
	
		
			Ruby
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			147 B
		
	
	
	
		
			Ruby
		
	
	
		
			Executable file
		
	
	
	
	
#!/usr/bin/env ruby
 | 
						|
 | 
						|
require 'puma/control_cli'
 | 
						|
 | 
						|
cli = Puma::ControlCLI.new ARGV
 | 
						|
 | 
						|
begin
 | 
						|
  cli.run
 | 
						|
rescue => e
 | 
						|
  STDERR.puts e.message
 | 
						|
  exit 1
 | 
						|
end
 |