mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	Apply suggestions from code review
Proper multiline block Co-authored-by: Sijawusz Pur Rahnama <sija@sija.pl>
This commit is contained in:
		
							parent
							
								
									ba7cd7e701
								
							
						
					
					
						commit
						9827dbf548
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -89,10 +89,10 @@ module Kemal
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  private def self.setup_trap_signal
 | 
					  private def self.setup_trap_signal
 | 
				
			||||||
    Process.on_interrupt {
 | 
					    Process.on_interrupt do
 | 
				
			||||||
      log "#{Kemal.config.app_name} is going to take a rest!" if Kemal.config.shutdown_message
 | 
					      log "#{Kemal.config.app_name} is going to take a rest!" if Kemal.config.shutdown_message
 | 
				
			||||||
      Kemal.stop
 | 
					      Kemal.stop
 | 
				
			||||||
      exit
 | 
					      exit
 | 
				
			||||||
    }
 | 
					    end
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue