mirror of
				https://github.com/zyphlar/doorlock.git
				synced 2024-04-03 21:36:03 +00:00 
			
		
		
		
	timeout the process quickly
This commit is contained in:
		
							parent
							
								
									229f79e837
								
							
						
					
					
						commit
						fcd9545890
					
				@ -39,4 +39,5 @@ app.get('/logs', require('./routes/logs'))
 | 
			
		||||
app.get('/update', require('./routes/update'))
 | 
			
		||||
app.get('/', (req, res) => res.render('home', {}))
 | 
			
		||||
 | 
			
		||||
app.listen(PORT, () => console.log('Example app listening on port 3000!'))
 | 
			
		||||
var server = app.listen(PORT, () => console.log('Doorlock app listening at http://localhost:3000 !'))
 | 
			
		||||
server.timeout = 10000 // 10 sec is super long for our requests
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user