forked from cybrespace/mastodon
		
	perf: run node directly when streaming (#10032)
This commit is contained in:
		
							parent
							
								
									188f1c7c89
								
							
						
					
					
						commit
						658b4621a6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								dist/mastodon-streaming.service
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/mastodon-streaming.service
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -9,7 +9,7 @@ WorkingDirectory=/home/mastodon/live
 | 
			
		|||
Environment="NODE_ENV=production"
 | 
			
		||||
Environment="PORT=4000"
 | 
			
		||||
Environment="STREAMING_CLUSTER_NUM=1"
 | 
			
		||||
ExecStart=/usr/bin/npm run start
 | 
			
		||||
ExecStart=/usr/bin/node ./streaming
 | 
			
		||||
TimeoutSec=15
 | 
			
		||||
Restart=always
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue