mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 15:34:13 +00:00 
			
		
		
		
	
							parent
							
								
									10f237be95
								
							
						
					
					
						commit
						79cbf0888c
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -24,7 +24,12 @@ module.exports = (server: http.Server) => {
 | 
			
		|||
 | 
			
		||||
		// Connect to Redis
 | 
			
		||||
		const subscriber = redis.createClient(
 | 
			
		||||
			config.redis.port, config.redis.host);
 | 
			
		||||
			config.redis.port,
 | 
			
		||||
			config.redis.host,
 | 
			
		||||
			{
 | 
			
		||||
				password: config.redis.pass
 | 
			
		||||
			}
 | 
			
		||||
		);
 | 
			
		||||
 | 
			
		||||
		subscriber.subscribe(config.host);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue