mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	Don't round to seconds/minutes in CommonLogHandler
This commit is contained in:
		
							parent
							
								
									aea70fd1e5
								
							
						
					
					
						commit
						849eda06c8
					
				
					 1 changed files with 0 additions and 6 deletions
				
			
		|  | @ -21,12 +21,6 @@ module Kemal | |||
|     end | ||||
| 
 | ||||
|     private def elapsed_text(elapsed) | ||||
|       minutes = elapsed.total_minutes | ||||
|       return "#{minutes.round(2)}m" if minutes >= 1 | ||||
| 
 | ||||
|       seconds = elapsed.total_seconds | ||||
|       return "#{seconds.round(2)}s" if seconds >= 1 | ||||
| 
 | ||||
|       millis = elapsed.total_milliseconds | ||||
|       return "#{millis.round(2)}ms" if millis >= 1 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue