From 528f49aa2ed66e24bb111ac186e20aa313f41a29 Mon Sep 17 00:00:00 2001 From: firest Date: Tue, 20 Jun 2023 18:13:49 +0800 Subject: [PATCH] chore: fix errors in the example for the file transfer configuration --- .../file_transfer-with-s3-exporter.conf.example | 17 +++++++++-------- examples/flapping_detect.conf.example | 4 ++-- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/examples/file_transfer-with-s3-exporter.conf.example b/examples/file_transfer-with-s3-exporter.conf.example index 62801d8ad..a59c7918c 100644 --- a/examples/file_transfer-with-s3-exporter.conf.example +++ b/examples/file_transfer-with-s3-exporter.conf.example @@ -48,7 +48,7 @@ file_transfer { ## Credentials to use to authorize with the S3 API access_key_id = "AKIA27EZDDM9XLINWXFE" - secret_access_key = "..." + secret_access_key = "******" ## Which bucket to store transferred files in? bucket = "my-bucket" @@ -57,15 +57,16 @@ file_transfer { url_expire_time = 1h ## Enable the HTTPS - transport_options.ssl.enable = true + transport_options { + ssl.enable = true - ## Timeout for connection attempts - connect_timeout = 15s + ## Timeout for connection attempts + connect_timeout = 15s - ## Attempt to talk through IPv6 first - ipv6_probe = true - } + ## Attempt to talk through IPv6 first + ipv6_probe = true + } + } } - } } diff --git a/examples/flapping_detect.conf.example b/examples/flapping_detect.conf.example index c570a3640..b33a805ea 100644 --- a/examples/flapping_detect.conf.example +++ b/examples/flapping_detect.conf.example @@ -7,8 +7,8 @@ ## you should copy and paste the below data into the emqx.conf for working flapping_detect { - ## Feature switch - enable = false + ## use false to disabled + enable = true ## Time window for flapping detection window_time = 1m