add 60s timeout to bot commands to prevent lockups
This commit is contained in:
		
							parent
							
								
									a5068e4b64
								
							
						
					
					
						commit
						cf19301f96
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -179,6 +179,7 @@ class KollagenBot:
 | 
				
			||||||
                shell_cmd_line,
 | 
					                shell_cmd_line,
 | 
				
			||||||
                check=True,
 | 
					                check=True,
 | 
				
			||||||
                capture_output=True,
 | 
					                capture_output=True,
 | 
				
			||||||
 | 
					                timeout=60,
 | 
				
			||||||
            )
 | 
					            )
 | 
				
			||||||
            ntf.seek(0)
 | 
					            ntf.seek(0)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue