This is an automated email from the ASF dual-hosted git repository.

sunyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new 393b2bf  chore: add redis-cluster policy tips for limit-count (#2058)
393b2bf is described below

commit 393b2bf7f7a1b97e5073d0559d4d287481db9c0d
Author: okaybase <[email protected]>
AuthorDate: Mon Aug 23 08:44:17 2021 +0800

    chore: add redis-cluster policy tips for limit-count (#2058)
    
    Co-authored-by: lixingwang <[email protected]>
---
 web/src/components/Plugin/locales/en-US.ts | 4 ++--
 web/src/locales/en-US/settingDrawer.ts     | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/web/src/components/Plugin/locales/en-US.ts 
b/web/src/components/Plugin/locales/en-US.ts
index 9c14a68..3088a08 100644
--- a/web/src/components/Plugin/locales/en-US.ts
+++ b/web/src/components/Plugin/locales/en-US.ts
@@ -82,7 +82,7 @@ export default {
   'component.pluginForm.limit-conn.default_conn_delay.tooltip':
     'the latency seconds of request when concurrent requests exceeding conn 
but below (conn + burst).',
   'component.pluginForm.limit-conn.key.tooltip':
-    'to limit the concurrency level.For example, one can use the host name (or 
server zone) as the key so that we limit concurrency per host name. Otherwise, 
we can also use the client address as the key so that we can avoid a single 
client from flooding our service with too many parallel connections or 
requests.Now accept those as key: "remote_addr"(client\'s IP), 
"server_addr"(server\'s IP), "X-Forwarded-For/X-Real-IP" in request header, 
"consumer_name"(consumer\'s username).',
+    'to limit the concurrency level. For example, one can use the host name 
(or server zone) as the key so that we limit concurrency per host name. 
Otherwise, we can also use the client address as the key so that we can avoid a 
single client from flooding our service with too many parallel connections or 
requests. Now accept those as key: "remote_addr"(client\'s IP), 
"server_addr"(server\'s IP), "X-Forwarded-For/X-Real-IP" in request header, 
"consumer_name"(consumer\'s username).',
   'component.pluginForm.limit-conn.rejected_code.tooltip':
     'returned when the request exceeds conn + burst will be rejected.',
 
@@ -112,7 +112,7 @@ export default {
   'component.pluginForm.limit-count.rejected_code.tooltip':
     'The HTTP status code returned when the request exceeds the threshold is 
rejected, default 503.',
   'component.pluginForm.limit-count.policy.tooltip':
-    'The rate-limiting policies to use for retrieving and incrementing the 
limits. Available values are local(the counters will be stored locally 
in-memory on the node) and redis(counters are stored on a Redis server and will 
be shared across the nodes, usually use it to do the global speed limit).',
+    'The rate-limiting policies to use for retrieving and incrementing the 
limits. Available values are local(the counters will be stored locally 
in-memory on the node) and redis(counters are stored on a Redis server and will 
be shared across the nodes, usually use it to do the global speed limit) and 
redis-cluster(the same function as redis, only use Redis cluster pattern).',
   'component.pluginForm.limit-count.redis_host.tooltip':
     'When using the redis policy, this property specifies the address of the 
Redis server.',
   'component.pluginForm.limit-count.redis_port.tooltip':
diff --git a/web/src/locales/en-US/settingDrawer.ts 
b/web/src/locales/en-US/settingDrawer.ts
index 4e2401d..2a9a35a 100644
--- a/web/src/locales/en-US/settingDrawer.ts
+++ b/web/src/locales/en-US/settingDrawer.ts
@@ -41,7 +41,7 @@ export default {
   'app.setting.othersettings': 'Other Settings',
   'app.setting.weakmode': 'Weak Mode',
   'app.setting.copy': 'Copy Setting',
-  'app.setting.copyinfo': 'copy success,please replace defaultSettings in 
src/models/setting.js',
+  'app.setting.copyinfo': 'copy success, please replace defaultSettings in 
src/models/setting.js',
   'app.setting.production.hint':
     'Setting panel shows in development environment only, please manually 
modify',
 };

Reply via email to