Sfoglia il codice sorgente

Add an example `redis.ratelimiter` config.

Shane Kilkelly 9 anni fa
parent
commit
535e489ae5
1 ha cambiato i file con 10 aggiunte e 0 eliminazioni
  1. 10 0
      services/web/config/settings.defaults.coffee

+ 10 - 0
services/web/config/settings.defaults.coffee

@@ -48,6 +48,16 @@ module.exports = settings =
 		# 		{host: 'localhost', port: 7005}
 		# 	]
 
+		# ratelimiter:
+		# 	cluster: [
+		# 		{host: 'localhost', port: 7000}
+		# 		{host: 'localhost', port: 7001}
+		# 		{host: 'localhost', port: 7002}
+		# 		{host: 'localhost', port: 7003}
+		# 		{host: 'localhost', port: 7004}
+		# 		{host: 'localhost', port: 7005}
+		# 	]
+
 		api:
 			host: "localhost"
 			port: "6379"