Mercurial > prosody-modules
annotate mod_storage_s3/README.md @ 5787:e79f9dec35c0
mod_c2s_conn_throttle: Reduce log level from error->info
Our general policy is that "error" should never be triggerable by remote
entities, and that it is always about something that requires admin
intervention. This satisfies neither condition.
The "warn" level can be used for unexpected events/behaviour triggered by
remote entities, and this could qualify. However I don't think failed auth
attempts are unexpected enough.
I selected "info" because it is what is also used for other notable session
lifecycle events.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 07 Dec 2023 15:46:50 +0000 |
parents | a5089978928a |
children |
rev | line source |
---|---|
5677 | 1 --- |
2 labels: | |
3 - 'Stage-Alpha' | |
4 summary: Cloud Native Storage | |
5 ... | |
6 | |
7 ::: {.alert .alert-danger} | |
8 This storage driver is fully async and requires that all storage access happens in an async-compatible context. As of 2023-10-14 this work in Prosody | |
9 is not yet complete. For now, this module is primarily suited for testing and finding areas where async work is incomplete. | |
10 ::: | |
11 | |
12 This module provides storage in Amazon S3 compatible things. It has been tested primarily with MinIO. | |
13 | |
14 ``` lua | |
15 s3_bucket = "prosody" | |
16 s3_base_uri = "http://localhost:9000" | |
17 s3_region = "us-east-1" | |
18 s3_access_key = "YOUR-ACCESS-KEY-HERE" | |
19 s3_secret_key = "YOUR-SECRET-KEY-HERE" | |
20 ``` |