mirror of
				https://git.sleeping.town/mirrors/foxy-moxy
				synced 2025-11-03 10:02:34 -08:00 
			
		
		
		
	add config
This commit is contained in:
		
							parent
							
								
									7c34463cc4
								
							
						
					
					
						commit
						f5712fef77
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -46,4 +46,7 @@ cluster((worker) => {
 | 
				
			||||||
    app.listen(activePort, () => {
 | 
					    app.listen(activePort, () => {
 | 
				
			||||||
        console.log('worker ' + worker.id + ' is listening on port ' + activePort);
 | 
					        console.log('worker ' + worker.id + ' is listening on port ' + activePort);
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					}, {
 | 
				
			||||||
 | 
					    'respawn': true, // workers will restart on failure
 | 
				
			||||||
 | 
					    'verbose': true, // logs what happens to console
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue