chore: fix errors in the example for the file transfer configuration

This commit is contained in:
firest 2023-06-20 18:13:49 +08:00
parent 53fdda8eef
commit 528f49aa2e
2 changed files with 11 additions and 10 deletions

View File

@ -48,7 +48,7 @@ file_transfer {
## Credentials to use to authorize with the S3 API ## Credentials to use to authorize with the S3 API
access_key_id = "AKIA27EZDDM9XLINWXFE" access_key_id = "AKIA27EZDDM9XLINWXFE"
secret_access_key = "..." secret_access_key = "******"
## Which bucket to store transferred files in? ## Which bucket to store transferred files in?
bucket = "my-bucket" bucket = "my-bucket"
@ -57,15 +57,16 @@ file_transfer {
url_expire_time = 1h url_expire_time = 1h
## Enable the HTTPS ## Enable the HTTPS
transport_options.ssl.enable = true transport_options {
ssl.enable = true
## Timeout for connection attempts ## Timeout for connection attempts
connect_timeout = 15s connect_timeout = 15s
## Attempt to talk through IPv6 first ## Attempt to talk through IPv6 first
ipv6_probe = true ipv6_probe = true
} }
}
} }
} }
} }

View File

@ -7,8 +7,8 @@
## you should copy and paste the below data into the emqx.conf for working ## you should copy and paste the below data into the emqx.conf for working
flapping_detect { flapping_detect {
## Feature switch ## use false to disabled
enable = false enable = true
## Time window for flapping detection ## Time window for flapping detection
window_time = 1m window_time = 1m